that string is created in php like that
$json_string = $json->encode($array); and i check the result by echoing i and its valid.
calling onload function
<body onLoad="initialize(<?php echo $init_area_div_num; ?>,<?php echo $last_area; ?>),'<?php echo $json_string; ?>'">
the function initialize()
the first two paraeters are integers ansd appear correctly.
for the third one which is a string i get an error
invalid property id
id is the first of the json objects properties...
moreover i tried to pass a simple string changing the php code to
obviously i have a problem manipulating my string....any help would be appreciated.