/    Sign up×
Community /Pin to ProfileBookmark

IE, jCrop and Dynamic Content problem!

I’m adding content to a page dynamically through an ajaxForm.

The content being added contains some javascript to enable jCrop on an img which is also in the content being added.

All works fine, unless you view in IE.

IE, for some reason, adds an inline style to the image of ‘display:none’!

Also, the source in IE shows no sign of the javascript that is being dynamically added!

Also, if I remove the inline style from the img, the jCrop functionality just doesn’t seem to work at all!

here is the content that is being added dynamically:

[URL=”http://pastebin.com/5LgZApT1″]http://pastebin.com/5LgZApT1[/URL]

Does anyone know anything about this sort of behavior with IE?

Cheers,
Tom

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@KorMar 10.2011 — I guess that a link to a test page would be more efficient. Can you?
×

Success!

Help @LumpyTomato 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.19,
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,
)...