It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming JavaScript Forum

how to work with 2 forms?

how to work with 2 forms?

Postby iversonmania on Wed Aug 05, 2009 2:43 pm

I want to use either form a or form b. if user enters a for example, i will use form a..if he enter b i will use form b.

how can i do this?????

i cant do a form in script??
iversonmania
 
Posts: 1
Joined: Wed Aug 05, 2009 2:40 pm

Re: how to work with 2 forms?

Postby hellsmissingdevil on Thu Aug 06, 2009 12:55 pm

hey

u can write javascript function like this

function test(val)
{

if(val=='a')
document.form=form1;
else
document.form=form2;

}
hellsmissingdevil
 
Posts: 6
Joined: Fri Jul 10, 2009 10:40 am


Return to JavaScript Forum

Who is online

Users browsing this forum: No registered users and 6 guests