Bug Tracker

Ticket #6900: test-6900.html

File test-6900.html, 672 bytes (added by dmethvin, 10 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
10var subgroups = [];
11subgroups [0] = [["A", "Y"],
12                 ["B", "Y"],
13                 ["C", "Y"]];
14subgroups [1] = [["D", "Z"],
15                 ["E", "Z"],
16                 ["F", "Z"]];
17
18// must run from a web server
19$.ajax({ url: "test-6900.html", 
20        data: { subgroups: subgroups },
21    dataType: "json", context: document.body, 
22        success: function(data) { alert("did it"); } 
23});
24
25 
26});
27</script> 
28</head> 
29<body> 
30
31
32
33</body> 
34</html>