|
|
|
function call, such as:
<input value="Send" type=button onClick="verify_value( foo[] )">
raises a Javascript "syntax error".
You can always refer to the input field by it's "number" instead of it's name:
document.formname.elementname.value
or
document.forms['formname'].element['elementname'].value
or
document.forms[0].element[2].value
|
|
| Zephyr: AJAX Based Framework for PHP5 Developers Categories : PHP, AJAX, Frameworks, Java Script, Web Applications | | | Array values from javascript to php Categories : PHP, Java Script, Arrays | | | Create HTML forms dynamicly using Javascript & PHP Categories : PHP, PHP Classes, Java Script | | | JavaScript to load Random Images Categories : Java Script | | | Linked comboboxes with php-mysql & javascript Categories : PHP, Java Script, Databases, MySQL | | | The toll booth Categories : PHP, Java Script, Filesystem | | | MD5 secured login Categories : PHP, Java Script, Authentication, Security | | | Flash Detection Script with loads of features Categories : Java Script, Flash | | | Bypassing Plugin / FLASH Activation Categories : Java Script, Web Browsers, Security, Flash | | | write an event to the eventlog via JScript Categories : Java Script, Windows 2000 | | | Pull Down Surfing - Surf on Change Categories : Java Script, MySQL, HTML and PHP, PHP, Databases | | | Java Script Based Navigation Categories : HTML, Java Script, Navigation | | | Adding a Filter to a Text Element Categories : Java Script, Data Validation, Form Processing | | | Remote Scripting: send form POST data to a script and insert the results into a page without refreshing the page. Categories : PHP, AJAX, HTML and PHP, Java Script | | | PHP Interaction with Javascript windows Categories : Java Script, PHP | |
| | | | frederic vandenplas wrote :1659
It is better to use de document.getElementByID("id")
| |
|
|
|