Click to See Complete Forum and Search --> : java problem
amd_dude
09-17-2003, 08:48 PM
hi
i have got to .js file when i preview the page in dreamweaver mx the .js file load but when i load it off the webaddress they dont load
any ideas
thanks
EverlastingGod
09-18-2003, 09:37 AM
Originally posted by amd_dude
hi
i have got to .js file when i preview the page in dreamweaver mx the .js file load but when i load it off the webaddress they dont load
any ideas
thanks
Not to be a stickler but... it's JavaScript not Java.
As for the problem, either you're referencing the .js file's address incorrectly or browser settings may disable some scripting or not allow the loading of the .js script in some cases (I think there are settings that don't let you load scripts from different sites.)
magicmusic
09-20-2003, 12:42 AM
//jjedit does not like this easy code:
Javafun
public class Javafun
{ public static void main(String[]args)
{int a = 0;
while (a<1000000)
{a++;
System.out.println(a);
}}}
__________________
amd_dude
09-20-2003, 02:02 PM
do i paste this into the page
EverlastingGod
09-22-2003, 12:48 AM
Originally posted by magicmusic
//jjedit does not like this easy code:
Javafun
public class Javafun
{ public static void main(String[]args)
{int a = 0;
while (a<1000000)
{a++;
System.out.println(a);
}}}
:confused: What does this have to do with anything?
For what it's worth
public class Javafun {
public static void main(String[]args) {
int a = 0;
while (a<1000000) {
a++;
System.out.println(a);
}
}
}
is fine. It compiles and runs okay.
But, unless you read this thread as an invitation to post Java problems, I'm not sure if this has anything to do with the OP's JavaScript issue. :confused: