I have inherited a php app with the yii framework. The syntax is foreign to me. I need the submit/register button to pop a disclaimer. So, I’m trying to do something like this…
echo ‘<div class=“row buttons”>’;
echo CHtml::submitButton('Create Now',array('onClick'="return confirm('You agree to the term to register.\n\nPress OK to continue.')"));
Anyone have a suggestion, this isn’t working???