Skip to main content

Bug Tracker

Side navigation

#5811 closed bug (invalid)

Opened January 15, 2010 05:30AM UTC

Closed October 26, 2010 05:49PM UTC

$("#id").load doesn't work in opera and firefox

Reported by: john_lucky Owned by:
Priority: major Milestone:
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:



<script type="text/javascript" src="jquery-1.3.2.js"></script>

<script type="text/javascript">


function PostContent(title,content)



$.ajax({type: "GET",

url: "test.js",

dataType: "script"});event.preventDefault();



$("#result").load("http://localhost:8080/show.jsp",{$("#content").val( ).length, $("#content").val()},function(){

$("#result").load("http:localhost:8080/show.jsp",new PostContent("en","yes"),function(){








<a href="">jQuery</a><input id="title" type="text" />

<textarea id="content"></textarea>

</p><div id="result">






show.jsp source here



<h1><% out.println(request.getParameter("title")!=null?request.getParameter("title"):"标题");%></h1>

<pre><% out.println(request.getParameter("content")!=null?request.getParameter("content"):"内容");%></pre>



Attachments (2)
  • index.html (0.9 KB) - added by john_lucky January 15, 2010 05:31AM UTC.

    The test file

  • show.jsp (0.2 KB) - added by john_lucky January 15, 2010 05:31AM UTC.

    The server-side file

Change History (1)

Changed October 26, 2010 05:49PM UTC by miketaylr comment:1

resolution: → invalid
status: newclosed

Closing as invalid as this test-case isn't really usable. Please feel free to reopen with a working test-case hosted on a server somewhere.