Skip to main content

Bug Tracker

Side navigation

Ticket #1361: test.html

File test.html, 0.7 KB (added by aportale, July 05, 2007 12:58PM UTC)

Demonstration of the broken selector. Works in 1.1.2

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>jQuery: The Write Less, Do More, JavaScript Library</title>
    <script type="text/javascript" src=""></script>
    <script type="text/javascript">
        function go()
            $("h1 + h2").css("background-color", "yellow");

        <h2>H2 (background should be yellow)</h2>

Download in other formats:

Original Format