<html>
<body>
<script type="text/javascript">
var i=blue;
var mycars = new Array();
mycars[0] = "'Sa'+i+'b'";
for (i=0;i<mycars.length;i++)
{
document.write(mycars[i] + "<br />");
}
</script>
</body>
</html>
i am having trouble displaying the mycars[0] element. Is there a way to display mycars[0] element?
This is the script that I am trying to utilize:
<script type="text/javascript">
function loadXMLDoc()
{
var xmlhttp;
xmlhttp=new XMLHttpRequest();
document.getElementById("rednoize").innerHTML="Checking..";
document.getElementById("hashcracking").innerHTML="Checking..";
var url=document.getElementById('ul').value;
if(url)
{
var md5_sites = new Array();
var results = new Array();
var md5_sites[0]= 'http://md5.rednoize.com/?p&s=md5&q='+ url +'&_=' ;
var md5_sites[1]= 'http://www.md5.hashcracking.com/search.php?md5='+ url ;
//rest of script
Firebug shows an error as: missing ; before statement
line 38