Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

On blur issues in jquery..Need focus to change out of text box..?

Asked by Elizabeth Clarke Jul 23, 2021 1.3K views 1 answer
Share

About this question

I have a VF page..I have a button open pop up..on click of that button i am opening a pop up using output panel and css...using the code something like this.. On that pop up i am using autocomplete using VF remoting and a confirm button on that popup..My problem is i am using blur event whenever i type some thing in that autocomplete text box i am selecting a autocomplete record and on onblur event calling a method but the curser remains in that text box.So when i click a confirm button onblur event is again called calling the controller method.

I want the curser to move out of the textbox after onblur event ..?? I need some jquery/javascript code...

close: function(){ j$(esc('{!autocomplete_textbox}')).blur(); }

Please help. I am stuck with this issue...for 3 days...

Thanks

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.