I could see that it is possible to have hash array using objects like
var hash = {"a" : "1", "b" : "2"};
Couldn't still findout how to declare hash array in Array.
var arr = new Array("a" : "1", "b" : "2"); doesn't work. Any hints? TIA
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
var hash = {"a" : "1", "b" : "2"};
Couldn't still findout how to declare hash array in Array.
var arr = new Array("a" : "1", "b" : "2"); doesn't work. Any hints? TIA
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Comment