I am learning to use Search feature of the extended Bootstrap Table. I declare a table with the following:
<table class="table table-striped table-bordered table-hover
table-condensed" id="my_table" border="1"
data-toggle="table" data-sortable="true"
data-sort-name="creation_time" data-sort-order="desc"
data-pagination="true" data-page-size="30"
data-search="true" data-height="760">
...
</table>
The Search text box is shown as expected. But, I have two problems:
- How can I specify the destination url for submitting the search text?
- How to prevent submitting search request when no search text is entered in the search text box?
Can anyone help?