Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.