When i use zendx_jquery and set a parameter like this
Code:
$date= new ZendX_JQuery_Form_Element_DatePicker(
"datePicker1", array("label" => "Birthdate:")
);
$date->setJQueryParams(array('buttonImage' => '/img/icons/calendar.gif',
'dateFormat' => 'dd.mm.yy',
'defaultDate' => '2007/10/10'));
it adds a trailing slash in the html
Code:
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$("#datePicker1").datepicker({"buttonImage":"img\/icons\/calendar.gif","dateFormat":"dd.mm.yy","defaultDate":"2007\/10\/10"});
});
//]]>
is this a bug in the code or am I missing something here? thanks in advance.