Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

AJAX is an acronym for Asynchronous JavaScript and XML.

2
votes
0answers
18 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
1answer
45 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
0answers
134 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
1answer
43 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
0answers
20 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
2answers
149 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
1answer
47 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
1answer
25 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
1answer
49 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
1answer
74 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
1answer
251 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
0answers
56 views

AJAX popup not loading channel entry content

I'm using AJAX for the first time. I have a page that lists channel entries and I want to show the entries individually in a pop up when you click a see details link. I'm using the Magnific pop up and ...
0
votes
1answer
66 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 ...
0
votes
1answer
55 views

static caching with stash and spa behaviour

our website is SPA, so only first request is loading the whole page with css/js stuff. every next load is an ajax request. the initial request caches the whole site as expected. code is: {layout="ech:...
0
votes
1answer
38 views

PHP/AJAX Error from DevDemon Campaigns When Posting to Facebook

I'm getting the following error when I try to post to one of my Facebook pages from Campaigns: A PHP Error was encountered Severity: Notice Message: Trying to get property of non-object ...
1
vote
1answer
28 views

Multipage freeform pro append anchor to paging_url

I have a large multipage form on my site which is positioned in the middle of the page. After every page submission the page reloads which means the user has to scroll back down to proceed with the ...
0
votes
1answer
123 views

AJAX channel entries - filter by category

I want to load entries belonging to different categories using AJAX. Currently everything works without AJAX, reloading the page on category selection. There's a parent template, then an embed that ...
1
vote
1answer
69 views

Accessing EE data via iOS swift

Good afternoon, I have a bit of a noob question here. I'm learning swift, and I'd like to write an application to access (read only at first) data from my EE3 site. All the good data I'm hoping to ...
0
votes
1answer
116 views

solspace user - Ajax submit form

I was having a heck of a time trying to get the solspace user module to submit my form via ajax. I was trying to use the default EE method found here: https://docs.expressionengine.com/latest/channel/...
0
votes
2answers
201 views

Pull random 10 entries without duplicating every time when ajax calls

Possible to pull random 10 entries (without duplicating entries) with ajax everytime when scroll to the bottom, right now it loads random 10 entires but it duplicates and some entries never shows up. ...
1
vote
1answer
135 views

Channel form : Ajax submisson

It's the first time I've used Ajax with Channel Form so this maybe a newbie question. I'm loading the template containing my form via AJAX and appending it to a DIV. When the form is submitted I want ...
0
votes
1answer
50 views

Show coupon value before submitting payment with Charge

I'm using Charge to provide a payment mechanism on a website I'm working on. I'm also using the 'coupons' in Charge to provide a means for users to apply a discount to a purchase at the point of ...
0
votes
1answer
57 views

Multiple comment forms on single page/template

I keep reading everywhere that the actual comment:entries tag and comment:form tag should be used on a single entry view template. https://ellislab.com/expressionengine/user-guide/comment/#id38 ...
0
votes
1answer
166 views

Stash Variable as channel entries search parameter

I’m stumped on something. I’m trying to (using AJAX) allow users to filter events by their location. So you can choose either Region or Country from selects that are populated with the addon REEgion ...
0
votes
1answer
123 views

AJAX Call on ExpressionEngine Install

$(document).ready(function () { $.ajax({ type: "POST", url: "/ajax/customcss", data: {channel: currentChannel}, }) .done(function( data ) { var jsonObj= JSON.parse(data); ...
0
votes
2answers
178 views

Help with EE Ajax form

I have an ajax form set up for my EE contact form which requires that the email and message field be filled in. I need to have "name" and "subject" required too. Please help // Contact form to use ...
0
votes
0answers
146 views

Ajax xid form errors without refreshing page

Not sure if this is an XID issue or what, but occasionally it will be successful but 99% of time it fails. I want someone to seamlessly turn on "vacation mode" by just checking radio button without ...
0
votes
1answer
619 views

Jquery Freeform AJAX submission form error

I have created a basic submission form using expression engine's plugin free form. From the CMS side of things my data is being submitted into the EE CMS. However after i have submitted my details, ...
0
votes
1answer
152 views

Magnific popup retrieving entry problem

I have a page that uses Magnific Popup to show popups (http://dimsemenov.com/plugins/magnific-popup/documentation.html). This popup it being loaded with the following peace of Javascript: $('.popoup-...
0
votes
1answer
45 views

Plugin code doesn't working on ajax?

I have the site http://staging.cwtest.co.uk/entertainment/celebrity and i wrote the code for ajax loadmore in the button of the page. When click the load more button the ajax load the data that's is ...
0
votes
1answer
214 views

Custom error messages with Freeform Pro ajax form

I'm using the AJAX form example for Freeform Pro as described here; https://solspace.com/docs/freeform/form/#ajax_validation However, the error messages are not very useful and simply say "Required ...
0
votes
1answer
115 views

Freeform AJAX not returning JSON

I'm using a freeform with ajax but the response comes back as index.php?ACT=11 and not JSON and therefore I can't manipulate the response. How can I have freeform return JSON instead? Freeform looks ...
0
votes
2answers
177 views

Infinite scroll within conditional

I have Derek Hogue's solution to infinite scroll working, with magicspon's fix for the issue of preventDefault being ignored: Infinite scroll and pagination on ee?? Anyone has this working? This ...
0
votes
2answers
121 views

Ajax Login plugin

Looking for a plugin to get Ajax login functionality - can see a couple in Devote:ee but they seem to be pretty old and looks like a few of them aren't supported and/or have no developer response on ...
0
votes
1answer
64 views

Expresso store refresh on product removal

I'm using Expresso Store as a webshop. In this webshop I'm able to remove an item from my cart. This is my remove button: <input type="submit" name="remove_items[{key}]" class="remove" value="&...
0
votes
1answer
108 views

Freeform Pro - AJAX response information not being returned

We have recently moved server to the AWS platform so this might be an issue on the infrastructure side of things rather than with Freeform Pro. However I have a modal contact us form that is being ...
0
votes
1answer
393 views

exp:channel:form ajax

I am creating a form using exp:channel:form to add an entry to a channel using ajax I have a hidden title, utl_title fields that are programmatically set and an entry_id field that is initially set to ...
4
votes
1answer
975 views

Ajax Pagination

I'm trying to use this script to AJAX load paginated entries in EE. There may be a far simpler way to do it though. This script works, but replaces the current 10 entries with the next 10 entries, ...
0
votes
1answer
64 views

Not getting notification of required fields

I have a Freeform Pro form that has a few required fields and uses a submit button to check server response time. The form works fine, stores the data in the Freeform database when submitted, etc. But ...
0
votes
1answer
188 views

AJAX add to cart data.success?

I am using Store 2 as my e-commerce module, with the AJAX Form plugin to submit products to the cart. My question is: Is there a way to detect if the item was added successfully and update the CSRF ...
0
votes
1answer
39 views

Low Alphabet and ajax

I would to know if it's possible to use ajax with Low Alphabet. I did a alphabet glossary, each time the letter is clicked, the whole page is loaded. How to use ajax to reload only the Low ...
0
votes
1answer
78 views

Changing base url of Freeform paginate links

Is it possible to change the base url on Freeform paginate links as it is with channel entries? https://ellislab.com/expressionengine/user-guide/templates/pagination.html#paginate-base I have a page ...
0
votes
1answer
356 views

Google Map won't show with ajax

I'm trying to load the objective HTML Google Maps extension with Ajax. But i don't get it to work. Before i loaded the map without ajax and that works perfect. This is the code i use: In the ...
0
votes
1answer
565 views

Solspace FreeForm : How to send file via Ajax with FreeForm

I have forms made with FreeForm Pro on a website (some with Composer, others by the Template way) that are validated and sent by Ajax. I followed the code given on Solspace documentation. Here's my ...
0
votes
1answer
51 views

EE isn't parsing PHP code, even though it should be

I'm sending an Ajax request via jQuery to an EE template. This is the entire contents of the EE template: {exp:channel:entries channel="tours" url_title="<?php echo $_POST["entry"]; ?>" limit="...
0
votes
2answers
199 views

Transcribe - After AJAX request, when i switch language it directs me to the AJAX endpoint

So using - Transcribe 1.5 and EE 2.6 Basically when i have channel information outputting to json within ee, when another page is requesting this via ajax, transcribe redirects to the translated json ...
1
vote
1answer
75 views

sidebar ajax calendar - only loads one month and fails

I've got a calendar on the sidebar of every page and am attempting to load it with ajax and have partially succeeded. Currently I can load either the next or the previous month once and only once and ...
1
vote
2answers
726 views

Channel Form with AJAX

I try to make channel form submit via ajax, but stuck now. I have a page showing the list of channel entries, when user clicks on edit link, which is next to each entry, it shows a panel () which ...
2
votes
1answer
262 views

How to add items to cart (with cartthrob) via ajax after an ajax login?

So right now I have a scenario where I want 4 fields to add some products to the cart (these are called Device ID, each one represents one product that needs to go to the cart), so here's the code ...
1
vote
2answers
1k views

Load XML via jquery.ajax causes an error

But not a javascript error, I think its something internal to EE? Bear with me as this is a strange error I'm seeing. I have a few pages in EE that are set type XML and they output XML dynamically ...