Expand|Select|Wrap|Line Numbers
- <script type="text/javascript">
- function displayRow(){
- var ET = document.getElementById("ExpenseTable");
- var row3 = document.getElementById("searchbutton");
- If row3.value == 'search' {
- if (row2.value == 'Expenses') {
- ET.style.display = '';
- }
- }
- </script>
- <input type="submit" name="searchbutton" id="searchbutton" value='search' border="0" onClick="displayrow();return false;">
right now every time I go to the form, the stuff in the javascirpt is happening but I want them to be place only if the search button had been pressed!
do you know how?