Jump to content


Photo

Set focus


  • Please log in to reply
4 replies to this topic

#1 komquat

komquat
  • Members
  • PipPipPip
  • Advanced Member
  • 130 posts
  • LocationHoughton, MI

Posted 29 September 2006 - 04:09 PM

I need a quick help on how to set the focus to a specific field in my form?

Thanks in advance


#2 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 29 September 2006 - 04:15 PM

then use the javascript setFocus function in the onload event of your page.
follow me on twitter @PHPsycho

#3 komquat

komquat
  • Members
  • PipPipPip
  • Advanced Member
  • 130 posts
  • LocationHoughton, MI

Posted 29 September 2006 - 04:16 PM

I know nothing about javascript, please link or show code thanks

#4 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 29 September 2006 - 04:23 PM

http://javascript.in...cus-onload.html
follow me on twitter @PHPsycho

#5 komquat

komquat
  • Members
  • PipPipPip
  • Advanced Member
  • 130 posts
  • LocationHoughton, MI

Posted 29 September 2006 - 04:30 PM

Thank you!!

I felt a bit like you sig!!!!!! ;D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users