Revert "button ajax trial"

This reverts commit 33ba8e9dd26fa545d57d66bdbf2ddfeccc5de005.
ajax on submit working