Helpful Information
 
 
Category: JavaScript Development
Need a javascript include feature!

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

could you not use ssi or php?

------------------

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?










privacy (GDPR)