Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling CGI with Javascript?

Status
Not open for further replies.

c4n

Programmer
Mar 12, 2002
110
SI
Hi!

I'm writing a "text counter" script in Perl and want to use it on pages with the help of Javascript:

<SCRIPT LANGUAGE=JavaScript SRC=
In the source code I used:

...
print &quot;document.write('$count')&quot;;
...


When I call the counter with Javascript as mentioned above it does count the visitor but the count number isn't displayed on the HTML page. Any idea why?

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top