$form['delete'] = array( '#type' => 'submit', '#value' => t('Delete'), '#attributes' => array('onclick' => 'if(!confirm("Really Delete?")){return false;}'), );
No comments:
Post a Comment