Closed dicrtarasov closed 6 years ago
Page: https://yii2-cookbook.readthedocs.io/forms-activeform-js/ Paragraph: "Getting Attribute Value"
The code is not working:
$('#form_id').yiiActiveForm('find', '#attribute').value
The right is:
$('#form_id').yiiActiveForm('find', 'attribute').value
https://github.com/samdark/yii2-cookbook/commit/e98999d22b4852eb6a1739a49dbad5adb847e70d Thanks!
Page: https://yii2-cookbook.readthedocs.io/forms-activeform-js/ Paragraph: "Getting Attribute Value"
The code is not working:
The right is: