- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › java doesn’t work
I cant see where’s the problem here… The javascript doesn’t work at all
I just started learning javascript and I made my first functsion.
HTML:
CSS :
/* Haihtuv kast */
#kast {
background: #000;
height: 300px;
width: 300px;
}
javascript:
The addresses are right…
Use firebug. Is jQuery loading?
The paths don’t look right to me, but it’s your directory structure.
I rechecked the addresses. All match.
How can I use firebug fof checking and what should I check with it? And how do i know if the jquery loads?
Do I have to tell the js document where the jQuery is situated?
In firebug click the dropdown next to head, then click the dropdown next to the jQuery link. If jQuery is loading you will see the jQuery script there.
It is not necessary to use absolute urls, relative will do fine.