4 Replies Latest reply on Apr 21, 2010 7:18 AM by pguerett

    How to jump to a control

    Matt FTW



      I was wondering if anyone can help me with the correct javascript to use in my form that will jump to a particular control. Basically, when someone clicks a button I want a previously hidden text field to become visible (which I have done), and for the page to 'jump' to that control (which is where I need help).


      I would have thought it was something like form1.txtfield.focus() but that doesn't seem to work.


      I'd be grateful for any help!