128
rated 0 times
[
132]
[
4]
/ answers: 1 / hits: 18486
/ 14 Years ago, wed, february 2, 2011, 12:00:00
I want to declare associative array in the argument of function in - is it possible??
this code it's not working..
<a href=javascript:functionName(new Array('cool'=>'Mustang','family'=>'Station'))>click</a>
that code is working - is it the only way?
<script>
var my_cars= new Array()
my_cars[cool]=Mustang;
my_cars[family]=Station;
</script>
<a href=javascript:functionName(my_cars)>click</a>
More From » arrays