ExtJS 1 "Hello World" Application

Posted By Vitaliy | April 29, 2017 | ExtJS 1.0.0
0 215
This is minimal html page code to run ExtJS version 1.
Note: that it's not recommended to add any DOCTYPE for this version of library.

<html>
	<head>
		<link href="/ext/1.0.0/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
		<script src="/ext/1.0.0/adapter/yui/yui-utilities.js"></script>
		<script src="/ext/1.0.0/adapter/yui/ext-yui-adapter.js"></script>
		<script src="/ext/1.0.0/ext-all.js"></script>
	</head>
	<body>
		<script>
			Ext.onReady(function() {
				Ext.Msg.alert('Welcome', 'Hello, World!');
			});
		</script>
	</body>
</html>

Js Code

Ext.onReady(function() {
    Ext.Msg.alert('Welcome', 'Hello, World!');
});