Yii Framework Forum: Cjuiautocomplete 'length' Issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cjuiautocomplete 'length' Issue Rate Topic: -----

#1 User is offline   Babas007 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 03-January 13

Posted 14 August 2013 - 11:45 AM

Using CJuiAutoComplete with that piece of code screwing up the css:
<?php                                   
	$form->widget('zii.widgets.jui.CJuiAutoComplete', array(
	   'model' => $model,
	   'name' => 'location',
	   'source' => $this->createUrl('xxx/xxxComplete'),
	   'options' => array(
		'minLength' => '3'
           )
        );
?>



Here is the output console of chrome:
Uncaught TypeError: Cannot read property 'length' of undefined jquery.js:583
jQuery.extend.each jquery.js:583
e.widget jquery-ui.min.js:6
(anonymous function) jquery-ui.min.js:6
(anonymous function)


I'm using JQuery 1.8.2. It might an issue right?
0

#2 User is offline   srini1987 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 12-March 13

Posted 17 October 2013 - 04:40 AM

Hi,

Pls send me ur controller file code.

Thanks,
Srini.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users