Guest sonflower Posted March 1, 2010 Report Share Posted March 1, 2010 I would like to display my "Feedjit" widgets in a table. How do I create a table with script type="text/javascript.... ?Have found lots of <table> examples on the web, but none using text/javascript tag. The desired result would be similar to this:http://i77.photobucket.com/albums/j44/tejas_ruthie/a-1.pngI did view the source for the Feedjit widget page thinking I could just copy/paste what they use but that did not work; I am not HTML-savvy enough to decipher how they did it.Thanks in advance. Link to comment Share on other sites More sharing options...
jeffman Posted March 1, 2010 Report Share Posted March 1, 2010 I really can't recommend a table for this application, but if you really want to go that way, the appropriate methods are these, which you can search for on the W3Schools site:document.createElement()myTableElement.insertRow()myTableRow.insertCell()Other relevant tools include element.appendChild(), element.insertBefore(), and element.innerHTMLI suggest you experiment with these tools in a test document before you try them out in a live project. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now