You are here: javascript and php form « PHP Programming Language « IT news, forums, messages
javascript and php form

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация