Yii Framework Forum: jqajaxsearch - Yii Framework Forum

Jump to content

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

jqajaxsearch Rate Topic: -----

#1 User is offline   porto 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 23-September 09

Posted 11 December 2009 - 12:45 PM

Hello,
can somebody please tell me how to get this extension working?:-)
In controller i have action list, which shows list of data in which i would like to perform searching.
Then i have action search there and in its view i got this:
<?php
$this->widget('application.extensions.jqAjaxSearch.AjaxSearch',
    array('action'=>array('search'), 'target'=>'search_results', 'minChar'=>2));
?>
<div id="search_results"></div>


but no matter what i type inside search field it renders just whole list action...anyone can advice me how does search work? thanks in advance!
0

#2 User is offline   nohero 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 04-January 10

Posted 09 February 2010 - 11:56 AM

Maybe this post will solve your problem.

There you see all code needed to get it running, then you have to implement search functionality yourself after the ajax part works.
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