Simple form not working anymore, since adding jquery tablesorter on same page
I'm using jquery and tablesorter plugin to sort a table in a php-page, which works flawless.
Further I have this form in it:
<form name="newrs" id="newrs" action="edit.php" enctype="multipart/form-data" method="POST" onSubmit="">
<input class="btn" id="bbtnNew" name="button" type="submit" value="New Recordset" />
</form>
But since I added the jquery/tablesorter functionality, t开发者_高级运维he form doesn't work anymore. (If I click on submit, nothing happens.
- What causes this behaviour?
- And how can I overcome this?
Thanks in advance for your suggestions!
.... Initializing the tablesorter with this code:
<script type="text/javascript">
$(document).ready(function()
{
$("#myTable").tablesorter( { sortList: [ [4,1] ] , widgets: ['zebra'] } );
}
);
</script>
OK Sorry, as it seems, there was some other (non-jquery) Javascript code which caused that behaviour. SOLVED
精彩评论