Jump to content

value from textarea


techker

Recommended Posts

hey guys i need to refresh on blur to get to post the upc code inserted in the textarea for product search..

 

i got the but i can't find the way to post the item

 

 

<script>
function reload() {
    window.location.assign("http://store.radioauto.ca/POS/auto.php?Item=upc code here")
}
</script>
      <input type="text" id="upc" name="upc" onblur="reload()" value="<?=$_GET['item']?>"/>
 
Link to comment
https://forums.phpfreaks.com/topic/290270-value-from-textarea/
Share on other sites

well it is just part of the form.

 

but it is just that part i need to display..

 

i have a field upc code,so i won't to onblur refresh but show the upc from the text field in the url

 

so my query can grab it and search the database for the corresponding product

 

mylink.com?upc=

Link to comment
https://forums.phpfreaks.com/topic/290270-value-from-textarea/#findComment-1486823
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.