[jQuery] Problem if AJAX returns JSON with colon (:)
I call a program using the following:
$.ajax({
complete:function(req,status){
...
},
data:vals,
dataType:'json',
error:function(req,status,err){
...
},
success:function(data,status){
...
}
});
It returns a JSON string of:
{"resultSet":[
{
"id":"2200001",
"url":"http://s7d4.scene7.com/is/image/Jostens/aps_airf_x_contact",
"startDate":"2008-01-01",
"endDate":"2030-01-01"
}
]}
For some reason it get's screwed up by the colon (:) in the url. Any
ideas?