Issue with Safari Browser

Issue with Safari Browser

adityagaurinadityagaurin Posts: 3Questions: 1Answers: 0

Hi,
I ma using basic example using data tables (referring from https://datatables.net/examples/basic_init/zero_configuration.html)

But i noticed that over Safari Browser it is not working...Even the above url also does not working over safari..

I attached code as well and screenshot of page how it is appear over Safari browser.

Can anyone help please.

Thanks

Answers

  • kthorngrenkthorngren Posts: 21,186Questions: 26Answers: 4,925

    I opened your file in Safari and it seems to work.

    Do you get any alert errors or errors in the browser's console?

    Kevin

  • adityagaurinadityagaurin Posts: 3Questions: 1Answers: 0

    Hi,

    Quite strange..I tested with most latest version of safari.

    Just check the browser console and it giving the following error:
    TypeError: 'undefined' is not a function (evaluating 'e.getAttribute("type")')

    I am really clueless about this..

    Can you please help!

    Thaks

  • kthorngrenkthorngren Posts: 21,186Questions: 26Answers: 4,925
    edited December 2018

    I tried with Safari Version 11.1 (12605.1.33.1.3) on the Mac. Its likely not the latest version. This page might be of interest:
    https://jquery.com/browser-support/

    As a test I would try with jQuery 1.12.

    @allan or @colin may be able to test with later versions of Safari. Maybe you can post the full stack trace the error generates.

    Kevin

  • allanallan Posts: 63,252Questions: 1Answers: 10,420 Site admin

    Works for me with 11.1.2.

    Allan

  • adityagaurinadityagaurin Posts: 3Questions: 1Answers: 0

    Hi Kevin,

    I am watching over Windows in Safari Browser..

    Does it causing any issue??

    Thaks

  • allanallan Posts: 63,252Questions: 1Answers: 10,420 Site admin

    As in you are using Safari for Windows? That's no longer supported by Apple and hasn't been developed in years - 2012 I think.

    Very likely its a bug in the browser if you are seeing it in such an old version of Safari and it works everywhere else.

    Allan

  • kthorngrenkthorngren Posts: 21,186Questions: 26Answers: 4,925
    edited December 2018

    Also, as the jQuery Browser Support doc mentions that I linked to:

    If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.

    Did you try jQuery 1.12.

    Kevin

This discussion has been closed.