Jump to content

Archived

This topic is now archived and is closed to further replies.

rajmohan

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

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

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

    • a
      0
    • b
      0


Recommended Posts

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;
}

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.