I am use a button and give a on click function. I want to pass multiple value in on click function. How can I use it?
<html> <head> </head> <body> <input type=”button” onClick=”test(‘a’,’b’)” name=”button” value=”button” />
<script> function test(var1, var2) { alert(var1); alert(var2); } </script> </body> </html>
This code can help you. bye friend. 🙂
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in