/    Sign up×
Community /Pin to ProfileBookmark

Combining of javascripts not working

Im trying to use 2 different things in the same document, a password retyper (so they enter the same password in twice so there are no mistakes) and an agreemenent check box so they have to check and agree to the agreement before submitting.

Problem is, the password part works GREAT… now the other part use to work great before I put the password retyper in, now the agreement part refuses to work. Anyone out there willing to give me a hand? please note, im not the greatest at java or html, but i can do a little.

Thanks!

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@vwphillipsMar 12.2005 — may be a duplicate onload event

if so put both in body tag

ie <body onload="FunctionOne();Function2();" >

or duplicate variable/function names


post a link to your code
×

Success!

Help @clawskitty 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.18,
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,
)...