Confused about javascript in cgi

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
dharrington
-


Joined: 27 Mar 2007
Posts: 2
Location: Mass

PostPosted: Tue Mar 27, 2007 5:47 pm    Post subject: Confused about javascript in cgi Reply with quote

I'd like to run javascript in my asp pages, but I read that Abyss doesn't directly support javascript. What changes to my script are necessary, and how do I configure 'scripting parameters'? (Already set up for .asp)
Anything you could offer...
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Mar 27, 2007 5:53 pm    Post subject: Reply with quote

JavaScript is client side scripting, it has nothing to do with any HTTP server in existance. You do not have to make any changes to your scripts.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
dharrington
-


Joined: 27 Mar 2007
Posts: 2
Location: Mass

PostPosted: Tue Mar 27, 2007 6:25 pm    Post subject: Thanks Reply with quote

The bad news is, it still doesn't work. I downloaded Firefox and enabled Javascript and Java, but nothing.
I'll keep digging in that direction.
Thanks again!
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Mar 27, 2007 6:39 pm    Post subject: Reply with quote

You will have an error in your JavaScript syntax.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Tue Mar 27, 2007 8:29 pm    Post subject: Reply with quote

If you want to try Javascript out, use this code:
Code:
<html>
<head>
<title>Javascript test</title>
<script type="text/javascript">
function test_js() {
alert("This is a Javascript alert. The page has finnished loading since you're reading this.");
}
</script>
</head>
<body onload="test_js()">
<p>Testing Javascript</p>
</body>
</html>


If your Javascript isn't working, it's probably because of ASP screwing it up somehow, or you may have an error in your Javascript syntax.

What is the full output (source) of your page after the ASP execution?
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group