It goes wrong in the Button input part in the Onclick.HTML Code:<script type="text/javascript"> function recp(id, amount) { $('#myStyle').load('join.php?artikelnummer=' + id + '&amount=' + amount); } </script> <form> <input type="text" name="amount" size="5"> <input type="BUTTON" value="submit" onClick="recp('113', document.amount.value)"> </form> <div id='myStyle'> </div>
The 113 works fine. But how do I get the value out of the textbox in this system?


Reply With Quote
Bookmarks