Javascript and ASP are separate because they are Client(javascript) and Server(asp).
You'll be forced to do a round trip to the server to execute the ASP function. What you could do... is put an hidden field... and when the page load... you execute a specific function if the hidden field isn't empty... that's the only way I can see it.
Am using a component that is heavily linked to javascript, what i need to do is when i click on the component, a confirmation dialog appears asking do you want to continue or not, if you select yes, then the menu should call a simple asp.net function. Have got to the point where i have the confirmation dialog, but can't get beyond it. Would appreciate any suggestions, however it has to be done in javascript.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.