Damn Sun cooperation...

Oct 13, 2006
64
0
0
okey i have one question..

If i have a code like this in my script section on a html page ...

function createInput(id,value) {
return "Period "+ id +" : <input type='text' name='period' onChange='javascript:saveValue("+ id +",this.value)' value='"+ value +"'>"
}

then I can't pass the value of this form namely the 'period' in my php page like for example $_post[period];

even if, lets say i added the <form method="post"> inside there.
is it possible to do so.
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
If you change your form method to GET, what is the url that the browser sends to your php page?

What is the entire html document after your javascript has run? You can usually get that using "View Selection Source" in firefox.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Sun cooperation? Javascript and Java are not the same thing and it was Netscape that created JavaScript.