Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Can someone please tell me why my "Add to Buggy"

Customer Question
button is not working in...
Can someone please tell me why my "Add to Buggy" button is not working in Firefox, but it is working in Chrome, IE, and Safari? I assume someone with Javascript expertise could us Firebug to figure this out. Thanks in advance- Website: tbbc.us
- Go to any product page and try to add the product to your cart in Firefox to see that it does not work
Submitted: 2 years ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 2 minutes by:
1/20/2016
Programmer: Martin, Computer Hardware Engineer replied 2 years ago
Martin
Martin, Computer Hardware Engineer
Category: Programming
Satisfied Customers: 3,145
Experience: 10+ Years Experience CCNA Network Engineer A+ Net+ Linux & Windows OS C++ Programming
Verified

Hello, welcome to JustAnswer my name is ***** ***** I'm one of the experts who will be assisting you today.

What's the name of the Add-on so I can download and take a look at it?

Please reply using the box below.

Regards,
Martin

Ask Your Own Programming Question
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Or is it just the button on the website?

Ask Your Own Programming Question
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

I had a look, you will have to disable javascript for it to work on Firefox.

Use this add-on to test it out:

https://addons.mozilla.org/en-US/firefox/addon/toggle-js/

Toggle to "Off" and refresh the page with the "Add to buggy" button.

It's not a problem with your website but a problem with the newer versions of Firefox.

Ask Your Own Programming Question
Customer reply replied 2 years ago
Thanks Martin - the problem is that I need to keep Javascript enabled for other key functions of the website to work. If I disable Javascript, we won't be able to use our site effectively. Any thoughts?
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

I believe your site is fine - it's Firefox that has decided to leave it enabled by default without the option to disable it (you need an add-on to do that). Chrome interprets the web page differently and figures out what you need for the button to work.

If you need it to work on Firefox with it's current setting you could make your web page act differently when it encounters Firefox.

You would need it to detect the browser first and then make a section for Firefox specifically - this would mean your button would have to work differently too.

Ask Your Own Programming Question
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Have you tried other older versions of Firefox, it looks more like a FF bug than anything else - the problem is usually the other way around, js not being enabled

Ask Your Own Programming Question
Customer reply replied 2 years ago
I'm not sure I understand. This is a site that I created (it's actually a Shopify site, but I did a lot of the custom coding). Our customers who use Firefox are having trouble adding things to their cart (so we can't sell them any products... big problem). I can't control whether they have JS enabled and can't control which version they are using... so I need to find a way to make this button work as it does in Chrome (check it out in Chrome to see what's supposed to fire when the button is clicked) so we aren't losing money from lost customers
Customer reply replied 2 years ago
PS - yes, I did the custom coding, but I'm a novice, hence why I'm asking for help figuring out this bug :)
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Yes I had a look on both browsers, the problem is it's a Firefox related issue - not something to do with your site or coding.

Just like Chrome users had to switch to Firefox because of Java being completely removed (from Chrome).

You would need to use a browser detection mechanism on your website so the FF users get redirected to a different page where you use a different submission form for your cart.

Does that make sense?

Ask Your Own Programming Question
Customer reply replied 2 years ago
but what about the fact that this site, which uses the exact same code base (this is the "Theme" that I purchased and did a bit of custom coding on) does work in Firefox: https://parallax-theme-aspen.myshopify.com/collections/mens-apparel/products/the-fundamental-shell-mens-midnight? Are you able to see what the difference is between this page and my page that is leading to the issue?
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Can you give me until tomorrow so scope it out properly and look at both page's code to see if I can find the exact problem for you?

I can't look into it right now but I can later tonight.

I can give you a concrete answer by tomorrow unless you find it first.

Ask Your Own Programming Question
Customer reply replied 2 years ago
Ok thanks. That's great. I'll let you know if I figure it out prior to that. Appreciate the help
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Sounds good, thanks!

Ask Your Own Programming Question
Customer reply replied 2 years ago
Martin - did you have any luck with this request?
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

Not yet unfortunately - do you have a list of things you modified from the original code?

Ask Your Own Programming Question
Customer reply replied 2 years ago
i'm wondering if it might have something to do with this "if" statement that I added within one of the functions in app.js. Do you know how to run a test on that? I'm wondering if the function is getting stuck on if and never processing the else (which is the add to cart action). Again, I coded this stuff but I really have no experience debugging, so I don't even know how to use firebug... just taught myself as I went...if (!event.target.checkValidity()) {
$('.monogram-error-message').show();
$('#monogram').get(0).scrollIntoView();
}
else
{
Programmer: Martin, Computer Hardware Engineer replied 2 years ago

I will open your question to other experts so you can get more help - please stand by

Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask ATLPROG Your Own Question
ATLPROG
ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7,677
7,677 Satisfied Customers
Experience: MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

ATLPROG is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,175 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
I am having a problem with Bootstrap 3.0 NavBar. Works fine
I am having a problem with Bootstrap 3.0 NavBar. Works fine in Chrome and Safari, but NavBar has extra space above buttons which covers my masthead when viewed in FireFox or Internet Explorer.… read more
George Sibiya
George Sibiya
PhD
313 satisfied customers
Adobe Business Catalyst and JavascriptI would like my
Adobe Business Catalyst and Javascript I would like my product page to show different subsequent dropdowns based on individual dropdown values. I've managed to achieve this via JavaScript, but I do no… read more
Michael Hannigan
Michael Hannigan
Bachelor\u0027s Program
239 satisfied customers
I want to create a shopping cart portlet in liferay portlet.
I want to create a shopping cart portlet in liferay portlet. We have decided to use java spring mvc portlet framework for this. Also we have decided to use a form to enter details with an add button. … read more
Nick
Nick
45 satisfied customers
I am currently taking an introductory course on programming
I am currently taking an introductory course on programming with Javascript. I have some exercises on arrays and functions due May 2 around 4 p.m. There are five exercises I have coded the output for … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,175 satisfied customers
I have a booking calendar and a photo browser on my site and
I have a booking calendar and a photo browser on my site and there is a conflict between them in javascript. Can someone please help with this?… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
How do I cut and paste data from a webpage running a live javascript
How do I cut and paste data from a webpage running a live javascript table into Microsoft Excel 2010? I used to be able to perform the standard Ctrl+C and Ctrl+V commands when cutting and pasting data… read more
Eljon
Eljon
Software Developer Consultant
Associate Degree
562 satisfied customers
Were having issues with our website when viewing in IE 8 and
We're having issues with our website when viewing in IE 8 and 9. I'm on a mac and I've viewed it in Safari, FireFox, and Chrome without issues. I just tried viewing in IE 9 on Windows 7 and the tabs o… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
848 satisfied customers
I have built a website to support a childrens book I am developing.
I have built a website to support a children's book I am developing. The site includes 4 types of printable pages that the user, a kid probably, could print out to make paper crafts. One is a cootie c… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
848 satisfied customers
Im implementing Google CSE into our website (frazerumc.org/search).
I'm implementing Google CSE into our website (frazerumc.org/search). The input box automatically resizes itself in every browser. For Safari it = 180px wide For Firefox it = 230px wide For IE it = 220… read more
neelimark
neelimark
Embedded Software Engineer
Bachelor\u0027s Degree
458 satisfied customers
Question about dynamic js style sheets using classic ASP and
Question about dynamic js style sheets using classic ASP and javascript. I have a js style sheet file that sets various font sizes based on the users DPI. This works in IE but not in Firefox or Safari… read more
neelimark
neelimark
Embedded Software Engineer
Bachelor\u0027s Degree
458 satisfied customers
This is an issue with javascript on my web page that appears
This is an issue with javascript on my web page that appears to be unique to only one (or very few) instances of IE 8. On all my work machines, this is not an issue. On my laptop install of IE 8 (runn… read more
ehabtutor
ehabtutor
Computer Software Engineer
Bachelor's Degree
936 satisfied customers
How do I program a button at the bottom of a long page on my
How do I program a button at the bottom of a long page on my Flash site that will move the page back up to the top?… read more
jeff
jeff
Software Developer
Master\u0027s Degree
153 satisfied customers
I have designed a website with Frontpage and have been using
I have designed a website with Frontpage and have been using it for about three years. recently I discovered the site does not display correctly in Firefox. The problem seems to be that the margins an… read more
Coder4Life
Coder4Life
CEO
High School or GED
76 satisfied customers
Im in the UK - My new website works ok in firefox but only
I'm in the UK - My new website works ok in firefox but only the background comes up in IE this is my 1st effort at doing a site with Dream Weaver and I don't know why it wont work in IE web address is… read more
John The Geek
John The Geek
Senior Software Developer
Bachelor\u0027s Degree
65 satisfied customers
I have a website that Ive inherited that Im trying to modify.
I have a website that I've inherited that I'm trying to modify. The homepage includes a navbar across the top, and when you click on each of the tabs in the navbar, content from one of several individ… read more
MichalR
MichalR
Master's Degree
36 satisfied customers
Drop menus will not work properly on my site using Firefox,
Drop menus will not work properly on my site using Firefox, they work fine using IE, Safari, Chrome even Opera. I used Firebug to isolate and got this error: Non-standard document.all property was use… read more
Rafael Martins
Rafael Martins
System Developer
446 satisfied customers
Ihave 6 java errors related to running a slide show slide_0
I have 6 java errors related to running a slide show that will not work in Firefox 3: 5 errors in html file: slide_0 is not defined One errors in JS file: __img is not defined code: __img.src = __imgs… read more
brainbox nc
brainbox nc
Associate Degree
92 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x