Jump to content

ajax param


zang8027

Recommended Posts

anyone see why this is not working? Its supposed to take whatever is entered into the input and put it in the url

 

<SCRIPT language="JavaScript">
function reload(form)
{
var val=form.quan.value;
self.location='towels.php?quan=' + val ;
}

</script>

</head>
<body>

<?

echo "Quantity: <input name='quan' type='text' onkeyup='reload(this.form)'>";  


?>

Link to comment
https://forums.phpfreaks.com/topic/158012-ajax-param/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.