Jump to content

input tag need to be added to a href tag.


Supervan

Recommended Posts

hi

The value of the input tag need to be added to a href tag.

 

Is it possible to get the value of qty1 without using jquery or posting of a form.

Need to create <a Href tag..

echo "<td> <input type=\"text\" name=\"qty1\" id=\"qty1\" autocomplete=\"off\"></td>"
    . "<td><a href=\"index123.php?qty1='+document.getElementById('qty1').value'&prodid="
    . $product1->id . "\">add product</a>"

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.