You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a table of data that I want to be able to search by two columns at once.
See the table here.
It seems like this depends on the properties of the first jets object since either way, the second object has the same props as the first.
Code:
...
<h4for="jetsSearch">Search with your 2 letter state abbreviation:</h4><divclass="input-group"><spanclass="input-group-addon" id="basic-addon3">State: </span><inputtype="search" id="stateSearch" class="form-control" placeholder="NY"><h4for="nameSearch">Search by representative name:</h4></div><h4for="nameSearch">Search by representative name:</h4><divclass="input-group"><spanclass="input-group-addon" id="basic-addon3">Name: </span><inputtype="search" id="nameSearch" class="form-control" placeholder="Maria"></div>
...
<scripttype="text/javascript">varjets=newJets({// searches column 2, containing state codessearchTag: '#stateSearch',contentTag: '#jetsContent',columns: [2]});varjets2=newJets({// expected: search col 1, containing namessearchTag: '#nameSearch',// actual: searches col 2, same config as above.contentTag: '#jetsContent',columns: [1]});</script>
The text was updated successfully, but these errors were encountered:
I have a table of data that I want to be able to search by two columns at once.
See the table here.
It seems like this depends on the properties of the first jets object since either way, the second object has the same props as the first.
Code:
The text was updated successfully, but these errors were encountered: