Posted on: 11/3/2014 9:29:59 PM | Views : 468

I'm getting the following error:

'ASP.webform1_aspx' does not contain a definition for 'myFunction' and no extension method 'myFunction' accepting a first argument of type 'ASP.webform1_aspx'
could be found (are you missing a using directive or an assembly reference?)

<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <script type="text/javascript">           function myFunction(p1, p2) {               return p1 * p2;                       // the function returns the product of p1 and p2       }       ...

Go to the complete details ...