I don't even know where to begin... How are we supposed to understand this question? You included JQM, great. What button isn't responding? What JavaScript? What do y ou mean online? Where is your code...?
Did you read through the Scripting section of JQM?
Do you mean using the source as online? There are many reasons it might not work. Why not download and use a local copy of JQM/JQ? Did you try to debug?