You need to sign in to do that
Don't have an account?
Shiv Shankar
reRendering problem
Hi friends,
I have a VF tag like this :
<apex:inputtext onkeypress="isEnter(event)" value="{! currentPageNo}" />
JS like this :
//To check either Enter key pressed in Page No input text or not. function isEnter(event){ if (event.keyCode == 13){ jumpOnPage(2); } }
Action function is like this :
<apex:actionFunction name="jumpOnPage" action="{! jumpOnPage}" reRender="mpb"> <apex:param name="pageNo" value="" assignTo="{! pageNo}"/> </apex:actionFunction>
Problem is : when i am presseing enter the whole page is refreshing not the particular component of page. How to resolve this.
Have a look at this.
Js Function
I tried this and is working for me.
All Answers
Have you tried checking for errors in console ?
Have a look at this.
Js Function
I tried this and is working for me.