Central Games Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Why don't javascript programs run on my computer?

4 posters

Go down

Why don't javascript programs run on my computer? Empty Why don't javascript programs run on my computer?

Post by cyberfriend Fri Oct 24, 2008 4:59 am

I am trying codes in javascript. They are all from reliable books. But they don't run on my comp. And, I have windows vista. Is that the problem? Mad

cyberfriend
Newbie
Newbie

Number of posts : 4
Warning :
Why don't javascript programs run on my computer? Left_bar_bleue2 / 1002 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Reputation :
Why don't javascript programs run on my computer? Left_bar_bleue0 / 1000 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Registration date : 2008-10-24

Back to top Go down

Why don't javascript programs run on my computer? Empty Re: Why don't javascript programs run on my computer?

Post by im_not_emo Fri Oct 24, 2008 5:00 am

Javascript codes must be run through a webpage.

ie
(html)
Code:
...Rest of site
<script src="script.js"></script>
..Rest of site

im_not_emo
Global Mod
Global Mod

Male
Number of posts : 896
Age : 31
Location : Auckland
Job/hobbies : Well, computer?
Warning :
Why don't javascript programs run on my computer? Left_bar_bleue0 / 1000 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Reputation :
Why don't javascript programs run on my computer? Left_bar_bleue999 / 100999 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Registration date : 2008-07-18

http://www.inegames.f33webhost.com

Back to top Go down

Why don't javascript programs run on my computer? Empty Re: Why don't javascript programs run on my computer?

Post by iConnor Fri Oct 24, 2008 10:17 am

You could also write the script without an external file.

Code:

<html>
<!-- HTML PAGE -->
<script type="text/javascript">
{
alert("This works too!") //Alert pops up displaying "This works too!"
}
<!-- END OF HTML PAGE -->
</script>
iConnor
iConnor
Global Mod
Global Mod

Male
Number of posts : 366
Age : 28
Location : Oregon
Warning :
Why don't javascript programs run on my computer? Left_bar_bleue0 / 1000 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Reputation :
Why don't javascript programs run on my computer? Left_bar_bleue999 / 100999 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Registration date : 2008-07-29

http://www.diablohacking.tk

Back to top Go down

Why don't javascript programs run on my computer? Empty Re: Why don't javascript programs run on my computer?

Post by fluxerj Fri Feb 06, 2009 8:05 am

First enable ur browser settings..

try later

fluxerj
Newbie
Newbie

Number of posts : 3
Warning :
Why don't javascript programs run on my computer? Left_bar_bleue0 / 1000 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Reputation :
Why don't javascript programs run on my computer? Left_bar_bleue0 / 1000 / 100Why don't javascript programs run on my computer? Right_bar_bleue

Registration date : 2009-02-06

Back to top Go down

Why don't javascript programs run on my computer? Empty Re: Why don't javascript programs run on my computer?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum