/    Sign up×
Community /Pin to ProfileBookmark

focus() not working in Netscape 7 and Mozilla 1.2

Anyone know why the following example doesn’t work correctly in Netscape browsers later that version 4.0?

[url]http://javascript.internet.com/forms/tab-key-emulation.html[/url]

What would I need to do to achieve this functionality?

Thanks,
David

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisMar 03.2003 — I tried it on NS 6, and it seems to be trying to submit when you press the enter key. I don't have a solution for you, but if you put

[font=monospace]onsubmit="return false"[/font]

in the form tag, it tabs correctly.

This link may help some more:

http://www.faqts.com/knowledge_base/view.phtml/aid/1225/fid/130
×

Success!

Help @km4hr spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...