<html>
<head>
<style>
.myStyle {
color : #ff0000;
}
</style>
<script type="text/javascript">
var djConfig = {
baseScriptUri : "js/dojo/"
};
</script>
<script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
<script>
var a = [ 1, 3, 5, 7, 9, 11 ];
alert(dojo.some(a, function(val) { return val > 6; }));
</script>
</head>
<body></body>
</html>
|