This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Marc
Marc

The AJAX Data Attributes API works fine in Chrome, but does not work in Safari (iOS). An example is:

<a id="loadmore" data-request="onLoadMore" data-request-success="appendReviews(data);">Load more</a>

This correctly appends reviews when using Chrome, but in Safari the request is never sent. The JavaScript API does work in both browsers, but why does the Data Attributes API not work in Safari?

Worste case I have to rewrite everything to the JavaScript API...

Last updated

daftspunky
daftspunky

You'll have to enable the developer tools in Safari to see what is going on. It's possible there is some other JavaScript error causing the framework to fail entirely.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.