Bug Tracker

Ticket #6392: test-6392.html

File test-6392.html, 476 bytes (added by dmethvin, 11 years ago)
Line 
1<!DOCTYPE html> 
2<html> 
3<head> 
4<title></title> 
5<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
6<script type="text/javascript"> 
7$(document).ready(function(){
8
9
10
11    alert('$("#myId").attr("for") is "'+$("#myId").attr("for")+'"'); 
12        alert('$("label").attr("for") is "'+$("label").attr("for")+'"');
13
14 
15});
16</script> 
17</head> 
18<body> 
19
20<div for="test" id="myId"></div>
21<label for="test"></div> 
22
23</body> 
24</html>