hello...
i have textbox with update option. when i change the value in textbox then update the session value. how to assign text value to session variable in javascript.
this is my script.
<script>function update_value()
{
//window.alert(window.document.creditform.quantity.value)
if((window.document.creditform.quantity.value=='') || (window.document.creditform.quantity.value=='0'))
{
window.document.creditform.quantity.value=1;
}
else
{
<? $_SESSION['qty']?>window.document.creditform.quantity.value;
}
}</script>