how to convert html table to javascript

Discussion in 'JavaScript' started by ramgay, Dec 11, 2008.

  1. #1
    Hi,

    I have a price comparison website with detailed price comparison for each product.

    I manually filled the tables with prices and other details. The same table i want to use it in other places. so to hide it from search engines, i need to convert the content to javascript and i will use the piece of javascript code in to any place i want to use. I don't know whether it is possible?

    I am ready to pay $3 for this conversion.
     
    ramgay, Dec 11, 2008 IP
  2. DrennanSoftware

    DrennanSoftware Active Member

    Messages:
    124
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    You can put it all into a .JS file using document.write and then put

    <script language="JavaScript" src="LoadTable.js"></script>
    Code (markup):
    wherever you want to display it.
     
    DrennanSoftware, Dec 11, 2008 IP