-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ON blur or submit , the field submits! #5
Comments
Are you sure this is related to uiTableFilter - if you remove the use of uiTableFilter does the issue go away? |
yes, when i comment the above lines the issue goes away. any ideas? |
Can you provide a reproduceable case - the html file for this? |
yeah sure, filter input <span class="left block">
<label for="filter">Filter</label>
<input name="filter" id="filter" value="" maxlength="30" size="30" type="text"/>
</span> Table <div id='left_column_content' >
<form action="" method="POST" name="inquiry" id="inquiry">
<table class="rows_table" cellpadding="6" id="inquiry_table">
... JS to init $(function() {
// $('.rows_table th:last').addClass("{sorter: false}");
$(".rows_table").tablesorter();
var theTable = $('.rows_table');
$("#filter").keyup(function() {
$.uiTableFilter( theTable, this.value );
return null;
});
$("#filter").blur(function(){
return false;
})
}); I would greatly appreciated if you can help me out here :)CheersAlex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this script :)
I'm facing this bug that is driving me insane, every time the filter input text looses focus or on enter it submits as if there was a form of type get and action to filter..
I can't get it to stop that!!
here's my code
The text was updated successfully, but these errors were encountered: