This content has been marked as final.
Show 4 replies
-
1. Re: Avoiding page reload under the following conditions:
ilya_shaikovsky Aug 20, 2009 10:54 AM (in response to balteo)just process onkeyup in input .. check if the enter was pressed and if so - click the button from js and return false. Or just use rich:hotKey ;)
-
2. Re: Avoiding page reload under the following conditions:
balteo Aug 20, 2009 11:06 AM (in response to balteo)Thanks a lot Ilya,
I am going to use one of the suggested solutions.
Just one last question: what is the return false for?
J. -
3. Re: Avoiding page reload under the following conditions:
ilya_shaikovsky Aug 20, 2009 11:11 AM (in response to balteo)in order to prevent further processing of the event by browser.
-
4. Re: Avoiding page reload under the following conditions:
balteo Aug 20, 2009 11:29 AM (in response to balteo)thanks a lot
very helpful!!!
J.