Computing.Net > Forums > Programming > CGI outfile call in javascript

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

CGI outfile call in javascript

Reply to Message Icon

Original Message
Name: dooper3
Date: April 30, 2005 at 18:28:28 Pacific
Subject: CGI outfile call in javascript
OS: XP Home SP2
CPU/Ram: Pentium 4, 2.4 GHz, 512Mb
Comment:

Can anyone help? I've got a form which peoplem can write messages in, with hidden inputs as well, which is posted to a cgi file which creates a simple outfile with the text in (the hidden bits are javascript). It's basically to add content to a newsticker rather than have to add it manually, but then when I run the javascript in question, and call up v_content=[

]; within <script>...</script> , I get an error about "document.all[...] style is null or not an object".
I presume this is referring to the text controllers which come after the v_conent in the original javascript.
I know it's a problem with the javascript, because the cgi is generating exactly the right outfile it should.
Any ideas?


Report Offensive Message For Removal


Response Number 1
Name: dooper3
Date: April 30, 2005 at 18:30:20 Pacific
Reply: (edit)

Sorry, the v_content=[...] has had it's cgi call-up removed, it says the usual comment marks (<!--) then #exec cgi="cgi-bin/comitteemsgs.out".


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software