Posted by @net on 10/09/06 16:35
hi everyone,
this is not exactly php question, but I need to call javascript inside
php script. now the question:
<form name="myForm"....
<tr><td><select name="mySelect" onChange="recreate(myForm)"...
where recreate represent javascript function:
function recreate(form)
{
var input=document.form.mySelect.value;
...
}
how can I create new objects inside myForm depending on mySelect value
? (I know how to enable them but it's more elegant to display them
based on previous selection inside mySelect)
thx.
Navigation:
[Reply to this message]
|