jQuery user intput to control option of one jquery function
Posted
by Tristan
on Stack Overflow
See other posts from Stack Overflow
or by Tristan
Published on 2010-04-27T22:31:50Z
Indexed on
2010/04/27
22:33 UTC
Read the original article
Hit count: 392
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
© Stack Overflow or respective owner