Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi Friends, I have a problem in invoking HTML element from STATIC method. My HTML page has some textbox's. I have scripted JavaScript to validate those textbox's. If the JavaScript returns true, then it will call the STATIC method from server side. Till this point my code works good. Here comes the problem, I knew basically we cant invoke HTML element from STATIC method. So what I have done is I have scripted one NON STATIC method and called that NON STATIC method from STATIC method using object. But still I am not able to invoke HTML element from both STATIC and NON STATIC method. Please help me in how to invoke the HTML elements.

Thanks in Advance :)
Have a great day world :)
Posted
Updated 4-Aug-14 0:39am
v3
Comments
[no name] 5-Aug-14 0:53am    
Include some coding to explain in detail

1 solution

Seems this guy also had the same problems. See the answers whether it will help you.

http://stackoverflow.com/questions/6984897/htmlelement-invoke-click-doesnt-work[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900