Jump to content

Archived

This topic is now archived and is closed to further replies.

sachin871

setting focus on page load

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.