To javascript programmer: Why my javascript functions not work in Firefox?
Hi,
My system written in javascript...it run normal in IE. But when i using Firefox 1.5 to run it, appear a serious problem. Because the information keep on repeat in my 2nd frame when i click on the radiobutton in the 1st frame. That zip file is my system. u may try to using IE and Firefox to open it, then u will know what is my serious problem.
Thanks...hope u can help me.
[402 byte] By [
shean] at [2007-11-19 22:43:12]

# 1 Re: To javascript programmer: Why my javascript functions not work in Firefox?
To be hornest, but I have no intention of debugging your entier code, but I'm more then willing to try and help if you have specific questions (other then "why doesn't my code work"-type questions) because most of us are at these forums to try and help people, but not to do the work for them :)
Also because one never knows what hides away in the script code, I've got no interest in installing/running it on my computers :) (No bad feelings intended, but I don't just run anything).
First step in trying to find your problems, would be to try and look at the FireFox javascript console and see if it reports any errors. It is much more effecient at giving error messages then for instance Internet Explorer.
Also if you are developing a lot of code in JavaScript then try to take a look at http://www.mozilla.org/projects/venkman/ which is a JavaScript debugger. I've not worked much with it yet, but it allows you - amongst other things - to step through your code and thus help you spot problems.
My initial thought however - without looking through your code as mentioned - is that you are invoking some objects which are IE specific. But withouth more detailed information, that is guesswork.
# 2 Re: To javascript programmer: Why my javascript functions not work in Firefox?
Im not need somebody to help to do my work...jus bcoz i can't inspect where is the problem occur in my system, im first time facing this type of problem...and usually u all request to see the coding and said: if without coding, we couldn't help u. That is why i upload the whole information system. I had tried in javascript console...but there can't detect the errors...and about the venkman i don't know how to use with it.Coz it looks like didn't run after i wanna start to debug.
The following is my print screens.
shean at 2007-11-8 0:41:15 >

# 3 Re: To javascript programmer: Why my javascript functions not work in Firefox?
I'm sorry if I came off as "harsh", that was not my intent, it was just that by posting the entier code without any indication of where the "problem" occurs makes it like you want [us] to do the work for you :)
Which of the (project) files do you use to update the right handed frame with information which appears double? Basically it looks simply like you concatenate the information instead of rewriting it which means that if you add something "new" to your basket, you display the basket out again withouth "deleting" the former displayed basket.
# 4 Re: To javascript programmer: Why my javascript functions not work in Firefox?
What exactly did you do to produce these results? I cannot get them to behave differently. It functions the same in IE and Firefox to me. What did you do?