a query regarding onmouseover event
-
<!-- function imgChange (img_name, img_src) { document[img_name].src = img_src; } -->
the upper one is the JavaScript code and the lower one in HTML code that I am using in ASPX file for applying the onmouseover functionality on the login button. Now I would like to use this button (login) as to navigate to some other page (main.aspx ) after clicking it. Can somone please tell me the function that I should write in the codebehind page for doing as above................ (I am working in C#)
-
<!-- function imgChange (img_name, img_src) { document[img_name].src = img_src; } -->
the upper one is the JavaScript code and the lower one in HTML code that I am using in ASPX file for applying the onmouseover functionality on the login button. Now I would like to use this button (login) as to navigate to some other page (main.aspx ) after clicking it. Can somone please tell me the function that I should write in the codebehind page for doing as above................ (I am working in C#)
Use an imagebutton and handle the onclick event to redirect to a new page.
only two letters away from being an asset