i have a little question.
Is it possible to call the keyup function with an extra value?
For example
$('#eld').keyup(function test(e,val2){
test('','hallo');
But this will not work. Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you can do is, pass
custom datathrough the .trigger() method of jQuery.For instance.
Now you can trigger the
keyupwithYou can pass an array of
custom datathrough.trigger()as second parameter.Example: http://www.jsfiddle.net/V9Euk/