- Jul 15, 2001
- 6,899
- 63
- 91
How can I capture a button click in HTML? Writing a script that by default prints the last 500 lines of a log file (this works fine). Now I need a button that will enable someone to view the next 500 lines. How can I capture this? Isnt the button syntax something like:
<INPUT TYPE='button' NAME='Next500lines' VALUE=?' So what would I change that would trigger the loop? Is there anyway to make it a boolean and check if (button) then blah blah, else blah ? Thanks for the help.
<INPUT TYPE='button' NAME='Next500lines' VALUE=?' So what would I change that would trigger the loop? Is there anyway to make it a boolean and check if (button) then blah blah, else blah ? Thanks for the help.