I want to use var to get folder name by javascript?
Can everyone help me???
I writed like:
http://muangay123.com/hoi_sitepoint/can_hoi.zip

code file.htm:
<script>
thu_muc=new Array();
thu_muc[0]="may_danh_giay";
thu_muc[1]="may_loc_khong_khi";
i=Math.floor(Math.random()*thu_muc.length);
a=thu_muc[i];
</script>

<script src="a/tieude.js"></script>
<script>
document.write(tieude);
</script>
Example: http://muangay123.com/hoi_sitepoint/can_hoi.zip