posted 15 years ago
I use rich:inputNumberSpinner tag.
The problem is :
I set cursor focus(position) to inside of rich:inputNumberSpinner field, then i hit the enter button from my keyboard, that time page will be automatically refresh.
But i don't need page refresh when i hit the enter button from my keyboard. (Cursor Focus rich:inputNumberSoinner)
The code :
spinnerTagTest.jsp
I also use rich:hotKey for that inputNumberSpinner field. But Page refreshed.
And i check anotherway using javasccript, but page refreshed.
The specific tag and javascript is :
Here i use one alert message inside of stopPageRefresh().
But i hit enter button, first page refreshing and then alert message displayed.
Help me about this.
Thanks in advance.
Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar