/    Sign up×
Community /Pin to ProfileBookmark

weird unclickable text field…need help!!

I am using the ThickBox javascript library to pop up a modular window within my browser window. The contents of the modular window is in iframe. In order to close the window you can either click outside the modular window or you can click on a close button within the iframe. Both close the modular window but I have a problem that occurs if you use the button within the iframe.

If you click on any part of the iframe and close the modular window using a button or link in the iframe, I can’t click on any text field in my forms on the parent page when the modular window disappears. The text fields somehow become locked or something. However if you continue to keep clicking on the text field it will eventually be able to type in it.

It seems that once you click on the iframe it places a focus on that iframe and when you proceed to close the modular window from within the iframe the focus gets lost in the browser.

This only happens in IE. ?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAAug 20.2009 — Is your form positioned on the page?
Copy linkTweet thisAlerts:
@deepeezeeauthorAug 20.2009 — it's not positioned style wise if that's what you're asking.
×

Success!

Help @deepeezee 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.20,
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,
)...