I have a text input using .keyup to active a .livequery on an ajax load. The problem is, the user has to click outside of the box to active the keyup function. Is it possible to simulate a keyup function while typing?
Here's what I have:
$('.input-mini').keyup().livequery('change', function () {
url = $(this.form).attr('action');
data = $(this.form).serialize();
$.post(url, data, function () {
$('#checkout').load('/store/checkout_table');
$('#checkout_form').attr('action', url);
$.cookie('all_cookie', null);
});
return false;
});