I have a jsp consisting of a count.This count is a text box against which there are two buttons(say "+" and "-" buttons)
In this, if the count value is invalid/ (or on the basis of some condition), i throw an error in the onblur event of the text box. And the page is displayed along with the error message. At the same time, if i click on the "+" button, the count has to be incremented and the error message should not be displayed. but this also comes under the onblur event of the text box.
how to differentiate the two actions? Is there any way to capture the "+" or the "-" button the user has clicked onblur event of the textbox.
It would be very much helpful if anyone could give me the solution for this? I need the solution immediately