Jump to content


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


js doubt cannot able to solve HELP MEEE

Recommended Posts

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;

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.