Bug Tracker

Ticket #6715: aa.html

File aa.html, 589 bytes (added by sky266, 12 years ago)

the demo of this section

Line 
1<!DOCTYPE html>
2<html>
3<head>
4  <script src="http://code.jquery.com/jquery.min.js"></script>
5</head>
6<body>
7        <div>
8
9    <input type="radio" name="newsletter" value="Hot Fuzz" class="a" />
10    <span>name?</span>
11
12  </div>
13  <div>
14    <input type="radio" name="newsletters" value="Cold Fusion" disabled="disabled" class="a" />
15
16    <span>name?</span>
17  </div>
18  <div>
19    <input type="radio" name="accept" value="Evil Plans" class="a" />
20
21    <span>name?</span>
22  </div>
23<script>    $(".a[disabled='disabled']").next().text(" is newsletter");</script>
24</body>
25</html>