I call an ajax function to set my div content, the content i want to display is an inout field for my form. I used the code below but my div still empty any suggestions please?
var v1='echo $this->Form->input("heure",array("label"=>false,"class"=>"form-control","default"=>"1200","options"=>'+array+'));';
jQuery('#ReservationAddForm #diiv').html('<?php '+v1+' ?>');