jquery - how to call slider in cakephp -


i need add slider div containing images in cakephp.i have tried sample code in jqueryengine helper.

controller.php  app::uses('jqueryenginehelper', 'helper');  public $components = array('requesthandler'); var $helpers = array('js');  $this->js->slider(array(    'complete' => 'oncomplete',    'change' => 'onchange',    'min' => 0,    'max' => 10,    'value' => 2,    'direction' => 'vertical',    'wrapcallbacks' => false )); 

but not working.i getting error

call member function slider() on non-object

please guide me wrong

did try google error message? very clear wrong here. error felt 1000 times asked here before.

call member function slider() on non-object

looks jshelper not loaded , because of "non-object". load jshelper. if doesn't need figure out why.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -