I have this text field and button here
Just do
onclick="SubmitFrm"
The javascript: prefix is only required for link URLs.
javascript: