/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] How to combine these 2 these scripts?

I have two scripts I need to combine. They both work great by them selves but when I use both I get a problem. I have attached them in a .zip file. I have very limited skills in this area.
[ATTACH]9027[/ATTACH]

Thanks

[upl-file uuid=c9165fd5-1a6b-496a-9dc4-d38b314cbba1 size=2kB]Scripts.zip[/upl-file]

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@FangJun 02.2007 — Except for the mistake of including the '<!--' in pricechangeDSBoxes, there is nothing in the scripts that should cause a problem.

A common error is to have 2 onload events. Is there another onload event in your html document?
Copy linkTweet thisAlerts:
@wildlandauthorJun 02.2007 — I don't think so but I’m not sure. I have only been messing with scripts and html for a few weeks. I always used web design software before. I attached a test page I have been using. It’s also online at http://www.wildlandoutfitters.com/Orders/test.htm

The first box should change the price it the last box the same as the rest.

[ATTACH]9030[/ATTACH]

[upl-file uuid=0503f4c0-a118-4829-90c9-ff38caa2def3 size=11kB]test.txt[/upl-file]
Copy linkTweet thisAlerts:
@FangJun 02.2007 — dynamicSelect is replacing the existing onchange handler. Both handlers must be in dynamicSelect or in the select tag
Copy linkTweet thisAlerts:
@wildlandauthorJun 02.2007 — how do I do that?

Thank you for taking the time to help
Copy linkTweet thisAlerts:
@FangJun 02.2007 —  // Onchange of the main select box: call a generic function to display the related options in the dynamic select box
sel1.onchange = function() {
refreshDynamicSelectOptions(sel1, sel2, clonedOptions);
[COLOR="Green"]ReadForm (this.form);[/COLOR]
};
Copy linkTweet thisAlerts:
@wildlandauthorJun 02.2007 — just one more thing where do I put it. Sorry I warned you I'm new at this.
Copy linkTweet thisAlerts:
@FangJun 02.2007 — unobtrusiveDSBoxes.js function dynamicSelect
Copy linkTweet thisAlerts:
@wildlandauthorJun 02.2007 — Works perfectly thank you very much
×

Success!

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