rajmohan Posted September 2, 2006 Share Posted September 2, 2006 i am using java script function i.e i am having more text fields and i want to validate in single function whether the user entered or not . if the user dosent fill it alert message should display other return true.fields are username,password,confirmpassword,age,date,etc....i want to pass this name to a function that should check it and return backwho to write it function validate( // here the names){if(document.form1.?.value=""){ alert("Enter thefield"+?); return false;}return true;} Link to comment https://forums.phpfreaks.com/topic/19450-how-to-pass-value-to-js-file-from-one-page-anotherhelp-needed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.