Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-21-2006, 02:55 PM   #1
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
Why doesn't javascript work?

I tried to write in Javascript recently on my Fedora Core 5 machine, however, I couldn't do anything. Is Javascript a special Windows language? If not, what kind of tag should I use in writing javascript (I know that there are several different tags).
Old 09-21-2006, 03:16 PM   #2
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
Javascript is a "java-like" scripting language used mostly on web pages. For example, the google ads on this site are run under a javascript script. To answer your question as what you need, you'll want a web server running (Apache)and a browser to view the web page.

Javascript is embedded in a <script> tag. A very easy example of javascript would be the following:

<script type="text/javascript">

alert('Hello World');


If you view the source of this page, you'll see a lot of javascript examples.

There's this really cool website called You can find a box there in which you can type, "javascript tutorial" and be presented with several thousands of places to learn more.


fedora 5, javascript, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
If statement doesn't work properly in JavaScript Robhogg Programming 2 03-05-2006 03:30 PM
Javascript doesn't work in Konquerer SLP SUSE / openSUSE 1 02-24-2006 03:08 AM
my first Javascript doesn't work in Blogger? Hosiah Programming 1 01-19-2006 12:27 AM
How do I get javascript to work with Opera? Aerlock Linux - Software 0 11-17-2003 09:28 PM
JavaScript applets not work in Linux? Conman Linux - Newbie 2 07-27-2002 12:41 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration