How the hell would I pass an associative array to a javascript function?
Shitty example:
<a onclick="test(arr['item']='Item Name', arr['price']='4.95');">click</a>
function test(arr)
{
alert(arr['item'] + arr['price']);
}
Shitty example:
<a onclick="test(arr['item']='Item Name', arr['price']='4.95');">click</a>
function test(arr)
{
alert(arr['item'] + arr['price']);
}

BUY MY SIG - 50$/Year
Comment