Jump to content


js doubt cannot able to solve HELP MEEE

  • Please log in to reply
No replies to this topic

#1 rajmohan

  • Members
  • PipPipPip
  • Advanced Member
  • 169 posts

Posted 02 September 2006 - 09:20 AM

i am using java script function in php  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 back

who to write it

function validate( // here the names)

alert("Enter thefield"+?);
return false;

return true;

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users