/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Basic Javascript Question..!!

Hello guys first post here. I have recently started constructing sites and I have a very basic question. I have implemented a javascript dropdown menu on my site, I’m using dreamweaver but when I hit the preview button my javascript menu does not show up. So my question is, is this because my menu is using javascript and I would only see it once is uploaded to the server and put live? Also when I did a quick search on google for “what is javascript” one of the sites definition was this: Javascript is a scripting language and interpreted in run-time. So this means javascript will get executed at run-time meaning once it’s been put live? and therefore I cant see a preview of the javascript before putting it live? Thanks.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@NedalsMar 17.2008 — You do not need to upload to the server. Javascript should show up when you display the HTML page in which it is located.

Run-time here means when you display the page.

Enable script debugging (Tools::Advanced::Browsing) if using IE or Tools::Error Console if Firefox to check for Javascript errors
Copy linkTweet thisAlerts:
@likuidauthorMar 17.2008 — Thanks Nedals, I was able to fix it by just reading the error console on Firefox great tool that I didn't know about...Thanks again =)
Copy linkTweet thisAlerts:
@likuidauthorMar 17.2008 — You do not need to upload to the server. Javascript should show up when you display the HTML page in which it is located.

Run-time here means when you display the page.

Enable script debugging (Tools::Advanced::Browsing) if using IE or Tools::Error Console if Firefox to check for Javascript errors[/QUOTE]



Thanks Nedals I was able to fix it by just reading the error console in firefox that you suggested...nice tool that i didn't even know about. Thanks again!~?
×

Success!

Help @likuid spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...