Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove the 3 dots in jquery datepicker alt

Tags:

jquery

yii

i am using jquery datepicker through YII framework and using an image . this image have title and alt and i could not remove them

here's my code in YII to display the image

$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'name' => 'sso_register[dob]',
//'model' => $model,
'attribute' => 'dob',
'value' => $dbText,
'options' => array(
'changeMonth' => true,
'changeYear' => true,
'dateFormat' => 'dd/mm/yy',
'yearRange' => "-100:+0",
'maxDate' => '31/12/2007', //day can choose >= tomorrow
'buttonImage' => Yii::app()->baseUrl . '/images/date_picker.png',
'buttonImageOnly' => true,
'showButtonPanel' => false,
'showOn' => 'button',
'altField' => '',
),
'htmlOptions' => array(
'class' => 'inputfield-middleside-date',
'readonly' => 'true',
'style' => 'position: relative; z-index: 100;',
'tabindex' => '7',
'alt'=>'',
'title'=>'',
)
));

any way to remove those 3 dots in image alt attribute on all browsers ? Thank you

like image 382
Rami Dabain Avatar asked Oct 16 '12 08:10

Rami Dabain


1 Answers

adding 'buttonText'=>'', will solve the problem

http://api.jqueryui.com/datepicker/#option-buttonText

like image 119
Rami Dabain Avatar answered Sep 21 '22 00:09

Rami Dabain