Jump to content


Photo

setting focus on page load


  • Please log in to reply
2 replies to this topic

#1 sachin871

sachin871
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 18 August 2006 - 06:11 AM

hello!

I am newbie in PHP. Just started working in PHP. I have this basic query. How can I set focus to some element say text box as soon as my page loads.

Thx in advance!



#2 Jeremysr

Jeremysr
  • Members
  • PipPipPip
  • Advanced Member
  • 199 posts
  • LocationSaskatchewan, Canada

Posted 18 August 2006 - 06:13 AM

This doesn't really have anything to do with PHP, to do this you would use Javascript. Unfortunately I can't help you because I don't know much Javascript...but try posting this in the Javascript board which you'll find further down on the main forum page.

#3 sachin871

sachin871
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 18 August 2006 - 06:17 AM

hey!

Thanks Jeremysr!

That was really a quick reply.








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users