File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add table elements in mobile browser?

 
dema rogatkin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use
However Windows Mobile 5.0 doesn't support that. Can somebody provide an example based on using doc.write()?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
document.write is only after the page is rendered. You also need to remember that it has a limited amount of memory too. You can try createElement() and append() it to the tbody.

Eric
[ May 02, 2006: Message edited by: Eric Pascarello ]
 
dema rogatkin
Ranch Hand
Posts: 294
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edit: Hmm, createElement seems failed, let me see....

Thanks, it's a good idea. Does this source look functional?

It worked in regular browser, but failed in a mobile one. What's looking suspicious? I'm keeping reloading innerHTML as the last chance.

[ May 02, 2006: Message edited by: dema rogatkin ]
[ May 02, 2006: Message edited by: dema rogatkin ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic