Issue with hiding elements in DOM

Hi,

I have a sequence of forms and I have a requirement that when each form is submitted, the "Submit" button must hide and in its place, a "Loading" text must appear and then the next form must load.
I tried all JQuery/CSS alternatives including :

Code:
visibility : hidden
display : none
$.hide()
$.remove()
$.replaceWith()

to hide the submit button from the page. It works when i go in the normal flow. But when i refresh a page and immediately press the submit button, the button does not disappear. It stays there.
All the given approaches work fine in blackberry/apple devices. The issue with hiding the button is only with Android.

Is there any alternative or is it a known bug with Android's defult browser?

Thanks in advance
 
Top