I have two menus which autosubmits a form whenever the user selects an item. I want an if statement which determines which menu submited the form. I do now know how to implement this one though. If you know some way to do this please let me know. Thanks...
--problem code below. I do now know how to implement the code below-- <% if(Menu1 submited the form) do this
if(Menu2 submited the form) do this
posted 10 years ago
Use a hidden input type to determine who submits...
SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999