|
|
|
|
|
To do this with javascript you can use the eval function. if for example you
want
to create new URL based on a few variables named :
attr_value1
attr_value2
.
.
attr_value5
you would do something like :
function vars(f) {
for(i=1 ; i < 5 ; i++)
location.search=location.search + '&attr_value' + i + '=''' + eval
("f.attr_value" + i + ".value") + ''';
}
|
|
| How to display a PHP variable value from a selectbox without reloading the
page by merging PHP and Javascript variables. Categories : PHP, Java Script, Variables | | | Local Time clock and Server time usign PHP and JavaScript Categories : PHP, Java Script, Date Time, Beginner Guides | | | PHP3 generated gif / javascript mouseover. Categories : PHP, Java Script, MySQL | | | Check parameters validity. Paranoia was designed to check the validity of the parameters that a php page will receive after a form submission. It can be used to check the variables sent by POST or GET Categories : Algorithms, HTML and PHP, PHP, Variables | | | Linked comboboxes with php-mysql & javascript Categories : PHP, Java Script, Databases, MySQL | | | Flash Your Message at Status Bar Categories : Java Script, Browsers | | | Email Address Protection (Avoide SPAM) Categories : Java Script, Email, Encryption | | | A simple configuration file editor to ease you life in setting up php applications. Reads variables from a given file automatically and displays current value. New value will be written to file after submit. Categories : PHP, Filesystem, Regexps, Java Script | | | Check if Javascript is Enabled or Disabled - Works in all Browsers Categories : Java Script, HTML, Web Browsers | | | Popup window creator for images on the Fly. Categories : PHP, GD image library, Java Script | | | Passing variables by reference. Categories : Variables, PHP | | | JAVASCRIPT interface class to the eBusiness Charts generatation remote service. Categories : Java Script, Graphics, Charts and Graphs | | | Page Loading Message shown during the time your site's page is being loaded. Categories : HTML, CSS, Java Script | | | Show hide table rows to make dynamic forms Categories : Beginner Guides, Java Script, Form Processing, HTTP | | | Prevent Right Mouse steal your graphics Categories : HTML, Java Script, Security | |
| |
| |
|