At very First I want to say that I am new for Javascript and I need help. I have a variable say p1
now I want that the value of form action="" will varry according to the variable p1.
e.g

if (p1==1)
then <form name="form1" method="post" action="1.php">
etc

Thank you