Does jQuery really work on a Mac?

I have a client for whom I am doing a very small project. His company uses exclusively Mac. I rarely use a Mac and don't have one for testing.

If I use jQuery and test it with FireFox on Windows, can I assume that it will also work for FireFox for Mac? What about other Mac browsers?

I consider that I just do not use a lot of JS / Ajax, but I do not want to shoot in the leg. Has anyone gotten much experience with jQuery / Mac?

Edit: quick note:

Yes, I know that JavaScript (and therefore jQuery) is a browser language.

However, although I have not done a lot of JavaScript lately (hence the question), I remember that I had a lot of problems the same day with browser versions on the same OS and even more problems with multiple OSs.

I don’t want to meet with me too much, but think this day, debugging complex JavaScript in several versions of IE and (shuddering) Netscape through several OSs.

Anyway, after some testing, it looks just fine = o)

+4
source share
5 answers

It is expected that the JavaScript browser engine will behave the same on any platform on which the browser is running, since the JS engine does not interact very well with the OS; he just lives in a browser. So no, you should not run into specific Mac problems with your scripts.

Safari 5.1.7 is still available for Windows if you need to test. For new visitors to this post, Safari 6 is not available for Windows.

+7
source

JQuery is a javascript client interface. It completely depends on the browser you use on the Mac.

JQuery itself does not interact with Mac, Linux, or windows.

+1
source

It works great on Mac, PC, and Linux. I would recommend if you download window safari to test.

+1
source

jquery tries to work in all browsers and on all platforms. if you look at nettuts, the guy who works on the blog uses the mac all the time to check its jquery stuff.

also, jquery has moved away from testing browser versions in favor of testing functions, so the difference in the browser should be handled gracefully if something is not available.

0
source

I found some really strange things on Mac when using jQuery (or any JavaScript library).

The biggest weird thing is that sometimes the Mac doesn't like relative paths. so instead of using

<script src="js/someFile.js"></script> 

Now i use

 <script src="http://www.mydomain.com/js/someFile.js"></script> 

I can’t explain it, but after many people with Mac call and say that something is not working, it usually fixes for me.

0
source

Source: https://habr.com/ru/post/1338681/


All Articles