Monday, 23 April 2018

jQuery On Method Issue

Hi 2 all i am using jQuery .On method to append rows , when i click add row button first time it append row but when second and next time it will do nothing . I need to know why my .on method is not working
Here is my Code




$form = $this->beginWidget('CActiveForm', array(
'id' => 'productoption-form',
'enableAjaxValidation' => false,
));

?>

Fields with * are required.


errorSummary($model); ?>


labelEx($model, 'title'); ?>
textField($model, 'title', array('size' => 60, 'maxlength' => 255)); ?>
error($model, 'title'); ?>



Add Product Options




Name

Price
















isNewRecord ? 'Create' : 'Save'); ?>


endWidget(); ?>





No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...