Skip to main content

Bug Tracker

Side navigation

#10085 closed bug (invalid)

Opened August 18, 2011 08:16AM UTC

Closed September 02, 2011 07:59AM UTC

Jquery selector stop when come to <script> tag in DOM

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: None
Component: misc Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Recently i spend half day on this issue. here is scenario:



function loadCkEditor(id,config) {

var $editors = $('#'+id);

if ($editors.length) {

$editors.each(function() {

var editorID = $(this).attr("id");

var instance = CKEDITOR.instances[editorID];

if (instance) { CKEDITOR.remove(instance); }









<textarea id="textarea_id"></textarea>

result: loadCkEditor function start and return $editors.length = 0

with $.dump i notice that selector come to <script> tag and then stop

Attachments (0)
Change History (3)

Changed August 18, 2011 09:45AM UTC by addyosmani comment:1

component: unfiledmisc
owner: → anonymous
priority: undecidedlow
status: newpending

I have a feeling this may be closed as invalid, but for the sake of thoroughness, could you kindly put together a reduced test case on which doesn't depend on CKEditor or the $.dump plugin?. We need to be able to investigate based on code reproducible without third party dependencies. Thanks!

Changed August 18, 2011 02:20PM UTC by dmethvin comment:2

We definitely need a reduced test case. To get you started, we've created this boilerplate: Open the link and click to "Fork" in the top menu.

Changed September 02, 2011 07:59AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!