Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7579ab2475
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (54 sloc) 1.639 kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Test Case for Issue #4391</title>
<h1>Issue #4391</h1>
<p>This test-case is intended for <a href="">Issue #4391</a>
- <span class="h3"> Can not use $ for jQuery in console</span>.
<i>Jan Odvarko,</i>
<li>Open Firebug and enable the Console panel.</li>
<li>Type following in to the command line: <code style="color:green">$("#testElement")</code></li>
<li>Press Enter</li>
<li>The result should be:
>>> $("#testElement")
&ltdiv id="testElement"&gt
<li>Load jQuery by clicking this button:
<button id="loadjQuery" onclick="loadjQuery()">Load jQuery</button>&nbsp;<span id="loaded"></span>
<li>Type following in to the command line: <code style="color:green">$("#testElement")</code></li>
<li>The result should be:
>>> $("#testElement")
<script type="text/javascript">
function loadjQuery()
var s = document.createElement("script");
s.setAttribute("src", "jquery-latest.js");
s.onload = function()
var loaded = document.getElementById("loaded");
loaded.innerHTML = "Loaded";
var ev = document.createEvent("Events");
ev.initEvent("jQueryLoaded", true, false);
<span style="color:green">
<div id="testElement">Test Element</div>
Jump to Line
Something went wrong with that request. Please try again.