Skip to main content

Bug Tracker

Side navigation

Ticket #6900: test-6900.html


File test-6900.html, 0.7 KB (added by dmethvin, August 11, 2010 11:09PM UTC)
<!DOCTYPE html> 
<html> 
<head> 
<title></title> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(document).ready(function(){


var subgroups = [];
subgroups [0] = [["A", "Y"],
                 ["B", "Y"],
                 ["C", "Y"]];
subgroups [1] = [["D", "Z"],
                 ["E", "Z"],
                 ["F", "Z"]];

// must run from a web server
$.ajax({ url: "test-6900.html", 
	data: { subgroups: subgroups },
    dataType: "json", context: document.body, 
	success: function(data) { alert("did it"); } 
});

  
});
</script> 
</head> 
<body> 



</body> 
</html>

Download in other formats:

Original Format