Now things like this will be more colorful and readable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<title>Hello World</title>
<script id='sap-ui-bootstrap'
src='resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.ui.commons'></script>
<script>
var btn = new sap.ui.commons.Button({
text:'Press me!',
press: function() {
alert("Hello!")
}
});
btn.placeAt('content');
</script>
</head>
<body class='sapUiBody'>
<div id='content'></div>
</body>
</html>
No comments:
Post a Comment
Thank you for your comment!
The comment area is not intended to be used for promoting sites!
Please do not use such links or your comment will be deleted.
Holger
Note: Only a member of this blog may post a comment.