Skip to main content

Bug Tracker

Side navigation

Ticket #4545: test.html
File test.html, 0.7 KB (added by drawrof, April 16, 2009 01:14PM UTC)

Test Case

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

	<title>$.getScript Test Case</title>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" charset="utf-8">
		$(function() {
			$.getScript('test.js', function() {
				alert(test_var);
			});
			$.getScript('http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js', function() {
				alert('JQUERY UI LOADED');
			});
		});
	</script>
</head>

<body>


</body>
</html>

Download in other formats:

Original Format