Welcome visitor
* Login
* Register
It is currently September 21st, 2019, 2:17 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  How to create a table dinamically
PostPosted: September 11th, 2009, 9:10 pm 

Posts: 17
Does anyone knows how to create a dinamically a table? I dont want to show it when the users first loads the page. Any help is welcomed. Thank you.


Top
 Profile  
 
  Re: How to create a table dinamically
PostPosted: September 12th, 2009, 3:09 am 

Posts: 16
Yes, it is possible, but server side is a more secure way because js could be disabled. Also, if you just want to hide/show (not create) the table use CSS display attribute:
<table style="display: none" id="hiddentable">...
<input type="button" value="show table"
onclick="document.getElementById('hiddentable').style.display='inline';">


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron