Hello,
I am new to java script i wish to know the code for calling a button click event in asp.net using java script.
shine_jose
-6
Light Poster
Recommended Answers
Jump to Post<html> <head> <script lang='javascript'> function btn1_click() { //do something; alert('in btn1_click function'); } </script> </head> <body> <input type='button' value='click me' id='btn1' name='btn1' onclick='javascript:btn1_click();' > </body> </html>
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.