Jump to content

Text/javascript Question


Guest sonflower
 Share

Recommended Posts

Guest sonflower

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...