hi all
am new to javascript, i need help how to locate a file from the directory(at client side)
function openwindow(name)
{
var file = “pages/” + name + “.htm”;
if (file = exists)
window.open(file,”mywindow”,status=1,scrollbars=1,width=750,height=550″);
else
alert “file not found”
}
please if anyone knows suggest….