I have just started using JQueryMobile and built a little app. This app has one page with a table that i build dynamically using javascript. This table is being built at the app load and each 10 seconds. After the table is build with all the rows and other stuff , i add it to a div (data-role=page).
On the first time i use $.mobile.changePage("#WantedPage")
, it works fine and has the css design.
But, if i stay one this page and the method of the dynamic build of the table is called it looses all of its design it had before.
I tried already to reload the page also after building this table but it still has the same problem.
Can anyone give me a direction with this issue? I will be glad to give more info if needed.
Edit:
Each td
in the table
has a button inside it and i noticed recently that before the re-build of the table with new button , it creates a div
that has a span
and button
in it.
and after the re-build , i have only a button
in it.