/    Sign up×
Community /Pin to ProfileBookmark

code not working

I have a file holding about 10 functions called jscript.js and rather than put the code in the header I chose to use <javascript src=’/jscript.js’> and it work fine up until today. so now all of my forms that are suppose to onsubmit=”return function()” don’t work.

I tested the site with putting a function in the header rather than using src and it worked. but i want to know why my method isn’t working.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyOct 18.2006 — <script type="text/javascript" src="/jscript.js"></script>
Copy linkTweet thisAlerts:
@matchewauthorOct 18.2006 — I have that. For some reason anything not put directly into the page doesn't work.
Copy linkTweet thisAlerts:
@bathurst_guyOct 18.2006 — are you sure that you have that as what i wrote is different to what you originally said you had...
×

Success!

Help @matchew 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 6.16,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...