Yii Framework Forum: Yiibooster - How To Add Toggle Button Dynamically? - Yii Framework Forum

Jump to content

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

Yiibooster - How To Add Toggle Button Dynamically? Rate Topic: -----

#1 User is offline   Asanka Sri 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 14-October 11
  • Location:Singapore

Posted 16 January 2014 - 11:45 PM

Hi,

I need to create a dynamic form which will create toggle buttons dynamically (using $model->toggleButtonRow()). But when I create them dynamically, the new toggle buttons are not working - ON/OFF functionality does not work (they looks like as disabled). Should I bind some events for newly created toggle button to make it work properly?

Thank you!
- AsAnkA -
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