I'm using Luke Murphey's `tab.js` and `tab.css` from [http://blogs.splunk.com/2015/03/30/making-a-dashboard-with-tabs-and-searches-that-run-when-clicked/][1] to create a dashboard with tabs.
Each tab requires different inputs from the user.
When the page is first loaded, the first tab and it's input are displayed. When the second tab is clicked, the second input is displayed, but the first input is not hidden. The first input is only hidden after I click the `Submit` button.
Similarly, while the second tab is displayed, if I click on the first tab, the first input is displayed. But the second input is not hidden until after I click the `Submit` button.
How can I make the first input be hidden when the second tab is selected?
Below are the relevant portions of XML
[1]: http://blogs.splunk.com/2015/03/30/making-a-dashboard-with-tabs-and-searches-that-run-when-clicked/
↧