• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inserting value into table

 
puja shaw
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me the syntax for how to insert a value into table

String ss="ddd";

now i want to insert this ss into table cell in html directly


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Find the element in which you want to insert the text and set its innerHTML property. Or using jQuery, use the .html() method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic