var id_person_value = 4;
$('#message').load("{{ path('MyBundle_ajax_modal_vote', {'id_person' :"+id_person_value+"}) }}", function() {//..
It should return
$('#message').load("{{ path('MyBundle_ajax_modal_vote', {'id_person' : 4 }) }}", function() {//..
But this returns me : http://mywebsite.com/app_dev.php/+id_person_value+
How could I inject the value correctly?
Thanks a lot for your help!