Questions tagged [ajax]
AJAX is an acronym for Asynchronous JavaScript and XML.
114 questions
0
votes
1
answer
78
views
AJAX In Cart Page Returning Odd HTML Instead Of Data Object
EE 5.2.6
This is a very strange problem.
I have a class that I'm using to query the Amazon Product Advertising API and return data via AJAX.
I have category pages and product pages where the jQuery ...
1
vote
1
answer
206
views
Getting Channel Entry Data With AJAX
EE 5.2.2
I am making an app that lists channel entries in a template. Some of the data in these entries could be very substantial so I would like to only call that data if/when the user chooses. The ...
0
votes
1
answer
98
views
Using DataTables to query a set amount of records, not all records
I have a webpage that utilizes Expression Engine for it's backend. One of the pages is taking 3-5 seconds to load because it is querying for all records in a channel and displaying them in a Datatable ...
2
votes
0
answers
60
views
Channel Form and Grid Images : AJAX
Having an issue where my form is losing all image values on a grid when saving via AJAX. I have the parameters on my channel form as json="yes" include_assets="yes"
Is the issue that I'm sending via ...
0
votes
1
answer
123
views
Cart Thob update shipping via ajax
I am using EE3 with Cartthrob and am trying to get the shipping to update via ajax. Basically a new customer is checking out and when they are creating their account and they select their state the ...
1
vote
0
answers
433
views
htaccess rewrite
I have an endpoint that I need to rewrite semantically for various reasons. The problem is it is an API endpoint and carries POST data. If I use a 301 or 302, the redirect happens, but I lose all data ...
2
votes
1
answer
129
views
How to detect an AJAX request in a EE4 template?
What's the best practive to detect an AJAX request in EE4 without activating PHP in the template?
With the previous version of EE, I used the Ajax Detect Conditional ({if ajax}, {if not_ajax}) from ...
1
vote
0
answers
51
views
URL Title Ajax Validation
I'm running an install of EE v3.5.14 and I'm trying to replicate some of the functionality of the old "Title Master" add-on, but I'm hitting a snag.
I've got my extension to hook to the ...
1
vote
2
answers
258
views
Using Contact Form and passing data to a second script
I'm using the Contact Form in an ExpressionEngine 3.5.10 website to send an email from the "Contact us" page to our sales department. All of this works fine.
However, they also want this form to feed ...
0
votes
1
answer
111
views
Pull dynamic entries using Ajax template on multiple Structure entries with Relationships
I've created two separate Structure entries, both using the Page template below with Relationship entries. It works fine if I only want one page, but I've made a second page to pull different ...
0
votes
1
answer
58
views
Solspace freeform pro uploads sporadically not working
I am running Solspace FreeForm 4.2.2 and I have a form that submits via Ajax and has a file upload in the form. Sporadically we are seeing that the form gets saved in the database but the file does ...
1
vote
1
answer
109
views
stop google from crawling ajax pages with no <head></head>
I have a static site that pulls in pop up content using ajax. I don't want search engines to index those ajax pages. I know there are ways to block pages with
<head>
<META NAME="ROBOTS" ...
0
votes
1
answer
117
views
Closing tags are not being executed
I'm loading a template with ajax and I'm trying to close a few divs and a section in which the opening tags are in a different file. The closing tags aren't being recognized on the front-end, while it ...
0
votes
2
answers
552
views
Prevent CSRF token expiring for EE powered kiosk
We are building a 'kiosk' interface into a site powered by EE (2.8.1) which makes various POST requests to other site templates as part of the flow.
The problem we are having is that because the ...
0
votes
1
answer
125
views
Load Entry Via Ajax - After filtering from dropdown menu
I am wondering if you can point me in the right direction here. Here is what I want to happen.
1) Site visitor visits the site and sees an elected official displayed on the home page. Next to this ...