Click here to Skip to main content
15,921,169 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
SQL
function submit_onclick() {


}




In my project Eail and password values correct means user have to move on next age. I want to write the code on submit_onclick..

can anyone help me?
Posted
Comments
bbirajdar 26-Dec-12 7:34am    
Are you sure you want to do it in javascript ? It should be done on server side.... I think its time to fire your team lead...

try this

Click me

C#
function myFunction()
{
var Usname = document.getElementById("#txtUserName");
var pass = document.getElementById("#txtPasword")
//do the rest
}
 
Share this answer
 
You have a similar question here:

Button click event in html file[^]

And you also have the answer there.
 
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