Jump to content


Photo

how to pass value to js file from one page another(HELP NEEDED)


  • Please log in to reply
No replies to this topic

Poll: how to use pass value to js file from one page another (0 member(s) have cast votes)

how to use pass value to js file from one page another

  1. a (0 votes [0.00%])

    Percentage of vote: 0.00%

  2. b (0 votes [0.00%])

    Percentage of vote: 0.00%

Vote Guests cannot vote

#1 rajmohan

rajmohan
  • Members
  • PipPipPip
  • Advanced Member
  • 169 posts

Posted 02 September 2006 - 09:09 AM

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 back

who to write it

function validate( // here the names)
{

if(document.form1.?.value="")
{
alert("Enter thefield"+?);
return false;
}

return true;
}




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users