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,089
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?
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,131 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

800 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
Roulette Game ( c Programming) The roulette wheel has the
Roulette Game ( c Programming) The roulette wheel has the numbers 0-36 on it. you can place your bet in one of three ways: i. bet on a number (payout is 36 times the bet amount) ii. bet on an odd or e… read more
Proggy
Proggy
Programmer
90 satisfied customers
#1 ____ errors are detected by a compiler. Logic Syntax Input Process #2
#1 ____ errors are detected by a compiler. Logic Syntax Input Process #2 Using ____ involves writing down all the steps you will use in a program. a compiler an interpreter a flowchart pseudocode #3 D… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
Each pseudocode has one or more bugs that must be found and
Each pseudocode has one or more bugs that must be found and corrected: 1. DEBUG03-01 // This pseudocode segment is intended to determine whether students have // passed or failed a course based on the… read more
Raj
Raj
SAP ABAP Consultant
Master\u0027s Degree
27 satisfied customers
JavaScript and Angular.js for this issue that I have. I need
JavaScript and Angular.js for this issue that I have … read more
George Sibiya
George Sibiya
PhD
288 satisfied customers
SECTION A 1. Describe how to implement a compiler language
SECTION A 1. Describe how to implement a compiler for a language in the same language (“bootstrap- ping”). 2. Invent a syntax for an APL-like matrix-based language that uses ordinary characters. 3. Wr… read more
Mr. Wilson
Mr. Wilson
Teacher
Master\u0027s Degree
200 satisfied customers
I am trying to convert pseudeocode into c++ and i am
i am trying to convert pseudeocode into c++ and i am confused … read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
How to implement A star algorithm step by step. C++ I want
i want to know how to implement with c++ because i need to use it with my task … read more
George Sibiya
George Sibiya
PhD
288 satisfied customers
Create a Flowchart and Pseudocode that would create a
Create a Flowchart and Pseudocode that would create a program to solve the following problem:Write a program that asks the user to enter six test score percentages. The program should display a letter… read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
Having issues with IIS 7.5 and PHP 5.2.6 .Net 4 in Windows
Having issues with IIS 7.5 and PHP 5.2.6 .Net 4 in Windows 2008 R2 environment: "Unable to place a FastCGI process in a JobObject. Try disabling the Application Pool CPU Limit featur … read more
Chris Baxter
Chris Baxter
28 satisfied customers
I need to learn Pascal. I have no programming experience,
I need to learn Pascal. I have no programming experience, but I have become involved in a business where the primary program is written in Pascal. There seems to be no compelling reason to re-write th… read more
Russell H.
Russell H.
Computer Technology Consultant
Vocational, Technical or Trade Scho
789 satisfied customers
I am working on the content slider and I am having problems.
Hi, I am working on the content slider and I am having problems. I love how it works for the most part, I just need to adjust the following:1) After the last slide, I would like it to return back to t… read more
George Sibiya
George Sibiya
PhD
288 satisfied customers
I don't know much about php, but I am trying to fix a bug in
Hello, I don't know much about php, but I am trying to fix a bug in my website, www.woodfactory.ch. There are different product categories and each one has a page. The title of the page should be equa… read more
Michael Minewyelet
Michael Minewyelet
Information System Assistant
Bachelor's Degree
11 satisfied customers
I have a few small java programs that I could use your help
Hi George, I have a few small java programs that I could use your help on. I have attached a zip file with a PDF of instructions, and all needed files.… read more
George Sibiya
George Sibiya
PhD
288 satisfied customers
There seems to be a bug in excel and "round" is not working.
Hello. there seems to be a bug in excel and "round" is not working. it does not round correctly … read more
Kris R
Kris R
IT Manager
Computing
3,312 satisfied customers
I am currently working through Murachs MySQL textbook on my
I am currently working through Murach's MySQL textbook on my own. I have a genuine interest in databases and am seriously considering a career somewhere within this realm. I just completed the chapter… read more
TheDoctor
TheDoctor
Software Engineer
Master's Degree
893 satisfied customers
i need to create a gpa calculator for an application on xcode.
i need to create a gpa calculator for an application on xcode. i need help please… read more
Brandon M.
Brandon M.
System Administrator
Vocational, Technical or Trade Scho
2,143 satisfied customers
I need someone to create a Simple Java Dots and Boxes game
I need someone to create a Simple Java Dots and Boxes game for me. It can use simple java gui form and should be between human and computer. The code should be easy enough to understand as i am really… read more
Jinsmn
Jinsmn
Systems Administrator
Diplom
1,260 satisfied customers
What advantage is there to dividing an applications code into
What advantage is there to dividing an application's code into several small procedures?… read more
The-PC-Guy
The-PC-Guy
Software Engineer
Bachelor's Degree
800 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