Zend Framework Forum

Go Back   Zend Framework Forum > Zend Framework Extensions, Integration with third party > Extensions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-2009, 01:06 PM
Junior Member
 
Join Date: Jul 2008
Posts: 4
Default problem with zendx_jquery setJQueryParam

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-25-2009, 01:16 PM
Junior Member
 
Join Date: Jul 2008
Posts: 4
Default

sorry my stupidity, I should add "showOn" => 'both' to enable the button image lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 12:32 AM.


Designed by: Miner Skinz Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0