6
rated 0 times
[
12]
[
6]
/ answers: 1 / hits: 7566
/ 11 Years ago, tue, january 7, 2014, 12:00:00
I am trying to make a function using jquery. And what i am trying to do is that i have a text field and submit button so when i insert numeric value from 1 to 10 it open up a link if the input value is from 11-20 on button click it should open different link.
html
<input type=text Id=number />
<input type=submit id=button />
jquery
$( document ).ready(function() {
if ( $(#number).val() >= 19200 && num <= 19276 ) {
$( #button ).click(function() {
alert( u enterd the number );
});
}
});
More From » jquery