I have a submit button in my admin.php page.
echo CHtml::submitButton('Submit', array('onclick' => 'js:document.location.href="Save"'));
in my controller I have added this code-
public function actionSave()
{
echo 'hi';
echo var_dump($_POST);
}
Now the problem is it displays only 'hi' message but does dump any values of my page.