/    Sign up×
Community /Pin to ProfileBookmark

Problem with javascript in firefox

HI, i have a problem with a javascript for an construction cost estimator.
It works fine in Internet Explorer and Chrome but dose not work in Firefox.
Can someone help?

The HTML button:

[code=php]<input type=”button” onClick=”aduna()” value=”Calculeaza”[/code]

The javascript is here: [URL=”http://web.clicknet.ro/carsor/calculator.js[/URL]

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@jamesbcox1980Nov 11.2009 — You did not define "aduna()" in the JavaScript file you gave us the URL to.
Copy linkTweet thisAlerts:
@valmindesignauthorNov 11.2009 — You did not define "aduna()" in the JavaScript file you gave us the URL to.[/QUOTE]

it is defined, sorry for that, i uploaded the wrong js file on that url.

is: function aduna()

{

in the script that dose not work... now it's the correct script. and i told u, it works fine in IE and Chrome
Copy linkTweet thisAlerts:
@jamesbcox1980Nov 11.2009 — Ok, I see now. mind if I ask exactly what you mean by "does not work"? Does it just do nothing, or are you receiving an error code, or does it render the wrong result?
Copy linkTweet thisAlerts:
@valmindesignauthorNov 11.2009 — Ok, I see now. mind if I ask exactly what you mean by "does not work"? Does it just do nothing, or are you receiving an error code, or does it render the wrong result?[/QUOTE]

It just do nothing!, no error, nothing...

It think that is something in the code, that isn't compatible with mozilla firefox.
Copy linkTweet thisAlerts:
@jamesbcox1980Nov 11.2009 — try removing this entire function:

[CODE]function load()
{
window.status = "Copyright www.valmindesign.com"
}[/CODE]
Copy linkTweet thisAlerts:
@valmindesignauthorNov 11.2009 — I tryed that, dose not work...
Copy linkTweet thisAlerts:
@jamesbcox1980Nov 11.2009 — Hmmm... I'm stumped. Maybe it's got to do with your HTML on that page?
×

Success!

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