Yii Framework Forum: How To Add A Dropdownlist To Append Tag In Jquery - Yii Framework Forum

Jump to content

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

How To Add A Dropdownlist To Append Tag In Jquery Rate Topic: -----

#1 User is offline   SUBHASH 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 08-November 12

Posted 04 December 2012 - 05:56 AM

Here i am enable to add the dropdownlist to append tag of jquery can any one help me in this
here is my code

$(document).ready(function(){

$(".tasks-add").click(function () {
$('.tasks').append('<li class="elements"><?php echo $form->labelEx($modelAcademics, 'Academic'); ?><?php echo $form->dropDownList($modelAcademics, '[]academics', array('school', 'college'));?></li>');

});

});


but i am able to add the textfield instead of dropdownlist can any help me in this
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