Questions tagged [ajax]

AJAX is an acronym for Asynchronous JavaScript and XML.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 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 ...
Shayne's user avatar
  • 317
1 vote
1 answer
175 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 ...
Shayne's user avatar
  • 317
0 votes
1 answer
78 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 ...
Alroy's user avatar
  • 5
2 votes
0 answers
53 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 ...
jjeining's user avatar
0 votes
1 answer
98 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 ...
Peter Eastwood's user avatar
1 vote
0 answers
411 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 ...
W3bGuy's user avatar
  • 1,610
2 votes
1 answer
103 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 ...
Nikolai's user avatar
  • 23
1 vote
0 answers
42 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 ...
accalton's user avatar
  • 111
1 vote
2 answers
223 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 ...
Andy's user avatar
  • 322
0 votes
1 answer
73 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 ...
frshjb373's user avatar
  • 273
0 votes
1 answer
40 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 ...
Trevor Orr's user avatar
1 vote
1 answer
79 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" ...
Matthew Carleton's user avatar
0 votes
1 answer
91 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 ...
user3478148's user avatar
0 votes
2 answers
483 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 ...
Mike Vaux's user avatar
  • 111
0 votes
1 answer
92 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 ...
user808's user avatar
0 votes
1 answer
77 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:...
Thomas Hartmann's user avatar
0 votes
1 answer
47 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 Filename: ...
Brian Rivet's user avatar
1 vote
1 answer
49 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 ...
Kieran McClung's user avatar
0 votes
1 answer
200 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 ...
user2265915's user avatar
1 vote
1 answer
89 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 ...
Jake Covert's user avatar
0 votes
1 answer
135 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/...
Chris B's user avatar
  • 166
1 vote
3 answers
440 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. ...
simpleton's user avatar
1 vote
1 answer
208 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 ...
KoalaKid's user avatar
  • 487
0 votes
1 answer
61 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 ...
Nathan Pitman's user avatar
0 votes
1 answer
70 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 ...
Milksamsa's user avatar
  • 236
0 votes
1 answer
268 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 ...
Caleb Durham's user avatar
0 votes
1 answer
193 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); ...
The Hawk's user avatar
  • 101
0 votes
2 answers
285 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 ...
Bob's user avatar
  • 1
0 votes
0 answers
184 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 ...
Chief's user avatar
  • 117
0 votes
1 answer
845 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, ...
NewBoy's user avatar
  • 377
0 votes
1 answer
174 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-...
user3478148's user avatar
0 votes
1 answer
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 ...
Padam Shankhadev's user avatar
0 votes
1 answer
352 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 ...
doubleplusgood's user avatar
0 votes
1 answer
146 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 ...
jmdesigner81's user avatar
0 votes
2 answers
216 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 ...
user2265915's user avatar
0 votes
2 answers
155 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 ...
segovius's user avatar
  • 415
0 votes
1 answer
85 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="&...
Arvenzis's user avatar
0 votes
1 answer
152 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 ...
KoalaKid's user avatar
  • 487
0 votes
1 answer
459 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 ...
Trevor Orr's user avatar
4 votes
1 answer
1k 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, ...
doubleplusgood's user avatar
0 votes
1 answer
77 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 ...
MicahKohne's user avatar
0 votes
1 answer
247 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 ...
ccdavies's user avatar
  • 455
0 votes
1 answer
47 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 ...
Stéphane's user avatar
  • 885
0 votes
1 answer
90 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 ...
Craig's user avatar
  • 13
0 votes
1 answer
405 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 ...
Eddyfever's user avatar
0 votes
1 answer
739 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 ...
pikarge's user avatar
  • 43
0 votes
1 answer
68 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="...
Jack's user avatar
  • 364
0 votes
2 answers
232 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 ...
Andrew's user avatar
  • 1
1 vote
1 answer
105 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 ...
CreateSean's user avatar
  • 4,747
1 vote
2 answers
834 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 ...
Ahmet Cetin's user avatar