php => javascript
1st way:
<script>
var var_name= <?= $var_value ?>
</script>
2nd way:
<input type="hidden" name="input_name" value="<?= $input_value ?>">
javascript => php
1st way:
location='http://server/script.php?var_name=" + js_var_name;
2nd way:
form_name.input_name.value = js_var_name;
hope you get the point :-)
Jeff Bluemel wrote:
Can I utilize java script variables with get or post? any information on
integrating the 2, and passing info back & forth?
thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php