#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Lebanon, PA USA
    Posts
    2
    Rep Power
    0
    I do not use javascript often, But I have a need. I want to use javascript to insert a table onto a web page.

    similar to the one at http://www.wjtl.net

    that uses Javascipt to call a perl script that posts the current news.

    here is the code:

    <script language="Javascript" src="http://www.newshub.com/index.cgi?style=css&mhl=20&c=10&d=4_36-5_46-9_113-12_175&id=lpMXEivO&tz=EST5EDT&fmt=js"></script>


    So I tried pointing the src to a cgi script with print commands in it, but that doesn't work.

    How can I get this to work>? What do I have to do in the cgi code to make this work. or is there another way.

    Brian
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Comber, Belfast, United Kingdom
    Posts
    17
    Rep Power
    0
    could you not use ssi or php?

    ------------------
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Lebanon, PA USA
    Posts
    2
    Rep Power
    0
    yes, I know how to easily do this in php and ssi. But I want to give a bit of code to a bunch of people that they can put on their website without editing and I thought java would be the way to do it.

    Can Anyone help me with any clues?

Similar Threads

  1. Updating content in a div from an include... oh boy.
    By dataminer in forum HTML Programming
    Replies: 5
    Last Post: May 15th, 2004, 08:13 PM
  2. Loading a file over HTTP using Javascript?
    By neobuddah in forum JavaScript Development
    Replies: 10
    Last Post: October 10th, 2003, 07:21 AM
  3. include() and javascript
    By belvedere in forum JavaScript Development
    Replies: 2
    Last Post: September 15th, 2003, 07:45 PM
  4. javascript
    By mr_nub in forum JavaScript Development
    Replies: 2
    Last Post: September 14th, 2003, 03:16 AM
  5. External JavaScript file problem
    By FTK2003 in forum JavaScript Development
    Replies: 11
    Last Post: September 13th, 2003, 11:21 AM

IMN logo majestic logo threadwatch logo seochat tools logo