jQuery user intput to control option of one jquery function
- by Tristan
Hello,
i'd like an input to control that :
jQuery.ajax({
type: "get",
dataType: "jsonp",
url: "http://www.foo.com/something.php",
data: {numberInput: "NUMER I WANT TO CONTROL" },
On the HTML side i've
<input type="text id="jqueryControl" />
I want when a user enters a number ito the jqueryControl to insert it in the .ajax function and reload the data according to the new value entered.
Any idea to do that please ?
Thanks