I everybody
in my codeigniter structure I have this array of object named $corsi
Array
(
[0] => stdClass Object
(
[id] => 1
[nome] => abcd
[costo_mensile] => 5
)
[1] => stdClass Object
(
[id] => 2
[nome] => efgh
[costo_mensile] => 10
)
)
I want to access this data with javascript or a function javascript its possibile ? can i get for example the field "nome" ?
im try with
echo "('rif_corso', $corsi, '', 'onChange="run();" id="corsi"')
an in a script:
document.getElementById("corsi").value
can something help me ? thanks a lot riccardo