Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4665 closed bug (duplicate)

Chrome and Jquery Selector and Maximum size 49800 characters

Reported by: zzcyanide Owned by:
Priority: critical Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: jquery selector, maximum size, chrome Cc:
Blocked by: Blocking:


I am using ajax to return a content web page. The content happens to be greater than 49800 characters. IE and Firefox handle this with no problems, but in Chrome, it returns null.

Steps to reproduce:

  1. create a html content page with greater than 49800 characters.
  2. make a div with an identity you want to select, id="Title"
  3. load the page via ajax, and return the html content
  4. use a selector on the content to return the title:

function LoadContent( page ){



url: page ,cache: false ,success: function(html){ ContentLoaded(html); } ,error: function(httpObject, textStatus, errorThrown ) { alert( textStatus + " and " + errorThrown ); } ,dataType: "text" ,data:{} ,timeout:10000


} LoadContent

function ContentLoaded( html ){

var title = $("#Header", html).html(); alert( title );


This will throw an error in Chrome.

I am not sure if this is a maximum variable size limit in chrome or something something.

Doom on you Chrome!

Attachments (1)

Chrome Issue.zip (47.1 KB) - added by zzcyanide 14 years ago.
chrome issue test files

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by zzcyanide

Attachment: Chrome Issue.zip added

chrome issue test files

comment:1 Changed 14 years ago by dmethvin

Resolution: duplicate
Status: newclosed

This is related to #3178 and most likely due to this (now-fixed) bug in Chrome/Safari:


Note: See TracTickets for help on using tickets.