Link to home
Start Free TrialLog in
Avatar of TrialUser
TrialUserFlag for Afghanistan

asked on

call a javascript function in the masterpage from the content page

I have a javascipt function inside the master page.
1)  I  need to be able to call this function from the content page on a button click.
2) pass parameters to the function

How can i do the above 2. please help thanks
the javascript function is:
 function AddLink() {

         }    

I need to be able to call the above method from the button click in the content page:
<asp:Button ID="btnProduct" runat="server"  Text="Add Product()"
        style="margin-bottom: 0px"  />
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial