我是一个新的jquery学习者。我有个问题。 我写了这个脚本,但结果不正确。 var details = <?php echo json_encode($all_data["holiday"]);?>;
var myArray = details.split("|");
var a = {};
var natDays = [];
for(var i=0;i<myArray.length;
,所以我有一个关联数组{$ join_options},其中有5个条目已经在其中。 如果我自卸$连接选项,它会显示: 19 => Some text for 19
20 => Some text for 20
22 => Some text for 22
24 => Some text for 24
26 => Some text for 26
好为止。 如果我只是用{$join_op