I'm trying to add a jQuery slider element to a subform, but no dice. I have a
mild suspicion that ZendX jQuery doesn't play nice with subforms, but that's
unconfirmed.
My form extends ZendX_JQuery_Form. Then I add a subform, and then I do
$elt = new ZendX_JQuery_Form_Element_Slider('rating');
$elt
->setLabel('Hot or not:')
->setJQueryParams(array('min' => 1, 'max' => 10))
;
$subform->addElement($elt);
If I manually add a slider using JS, i.e.,
$("slideme").slide()
that works fine.
What am I missing?
--
View this message in context:
http://www.nabble.com/ZendX-jQuery-in-subforms-tp23049226p23049226.html
Sent from the Zend Framework mailing list archive at Nabble.com.