Create a javascript object

var fido = {name: "Fido", barks: true};
http://www.phpied.com/javascript-style-object-literals-in-php/

Leave a Reply