Hello All,
Thanks for reading this...
Quick question.
I need to store the selected value of a
dynamically-created listbox (values received from mysql db).
I have gotten the value okay (I can send it to a messagebox with the jscript)
however my php script does not see the value at all.
Please try and let me know what I am doing incorrectly.
Thanks, and below is the code:
the javascript
<script language="JavaScript">
function update_price_model(item) {
var price_model = item.options[item.selectedIndex].text;
var $php_price_model = price_model;
alert($php_price_model);
}
</script>
I have tried many ways, but this is how
I thought I should be able to reference the value
<?php print "test:" .$php_price_model ;?>