jquery - jsfiddle works in FireFox, Chrome but not IE8 -


here jsfiddle. works fine in chrome , firefox, error when running in ie8:

message: object doesn't support property or method line: 244 char: 9 code: 0 uri: http://jsfiddle.net/js/actions.js 

i added code jsfiddle site , i'm seeing same issue ie8. have add specific working in ie8?

thanks

one of jsfiddle's scripts contains error. expecting element have been extended mootools, it's not. if knew how, i'd tell jsfiddle devs need wrap e.target in call $():

line 244 of http://jsfiddle.net/js/actions.js:

if (e && $(e.target).getparent().get('id') == 'm') { 

edit: work around, add bookmarklet links bar , click once when page loads. run button in state error won't occur anymore.

javascript: $$("#run > span"); void 0; 

another work around use ctrl+enter instead of clicking "run" button.

while we're on topic of making jsfiddle behave ie through bookmarklets, here's 1 use jsfiddle toolbar in view after goes wonky when paste script editor pane:

javascript: document.body.scrollintoview(); void 0; 

there's no reason couldn't combine 1 - neither have ill effect on other:

javascript: document.body.scrollintoview(); $$("#run > span"); void 0; 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -