JQuery Mobile / InputTextBox Question

JQuery Mobile / InputTextBox Question

Hoping someone can help me out with this

I'm using Jquery Mobile with Android (JellyBean)

And I'm running in the below problem; it has to be something simple I'm missing

I have an html page with a form with two input fields
On the same page I have a button that goes to a javascript
method(onClick) to process the elements on the form(var oForm = document.getElementById('loginform');) and so on.

I fill out the form via the emulator keyboard (both fields) and press go.
It takes me back to the html  form where I can hit the button
to process.  This works when I use two input fields

But if I use one input field on the form.  Fill the input field via
the emulator keyboard and click go; it just reloads to the page?

But if I use one input field.  Fill the input field via
the emulator keyboard; leave the keyboard up and press the button(not go) it works.


What am I missing here?