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
Printable View
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.Quote:
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
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.)
//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);
}}}
__________________
do i paste this into the page
:confused: What does this have to do with anything?Quote:
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);
}}}
For what it's worth
is fine. It compiles and runs okay.Code:public class Javafun {
public static void main(String[]args) {
int a = 0;
while (a<1000000) {
a++;
System.out.println(a);
}
}
}
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: