Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2079

AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.

0 votes
1 answer
284 views

Magento GET Array Empty At Model

An AJAX call is made to the Index controller action like so: xmlhttp.open("GET",encodeURI(ctrlPath)+'? … The AJAX calls fails with canceled but a direct call to the URL results in okay. So, the GET variable is empty in the model. Please tell me why? Also, this is NOT my code, please don't hate :) …
Jongosi's user avatar
  • 1,531
1 vote
Accepted

Magento GET Array Empty At Model

Resolved, And so, so simple in the end. The URL definition (ctrlPath) was defined as insecure: Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'outofstocknotification/index/storeNotificationP …
Jongosi's user avatar
  • 1,531
0 votes
Accepted

Form submits via GET not AJAX

Source: http://twincreations.co.uk/using-magentos-built-in-ajax-submit-with-validation/ …
Jongosi's user avatar
  • 1,531
0 votes
2 answers
1k views

AJAX Request JSON Response Always NULL

I'm creating an ajax add-to-cart module. It's working fine (adding product, respecting quantity, etc) BUT the response is always the full HTML page, instead of a JSON object. …
Jongosi's user avatar
  • 1,531
0 votes

AJAX Request JSON Response Always NULL

Oh.The.Pain. I found another module that was also extending the Mage Checkout CartController, but for no use at all; just commented code. Removed that and it's working perfectly now. Thanks to all fo …
Jongosi's user avatar
  • 1,531
0 votes
3 answers
906 views

Form submits via GET not AJAX

The validation works; it doesn't submit and it highlights the relevant fields: However, if all fields are correctly populated, the form submits via the browser, not AJAX. … variableForm, 'submit', function(e){ e.preventDefault(); ajaxIfy(variableForm); }); //]]> </script> If the form fields are all populated, the form submits in the traditional way, NOT via AJAX
Jongosi's user avatar
  • 1,531
5 votes

Magento 1.9 cart not updating

Javascript Issue By using jQuery's .on(), the theme developers at magento are on the right track (although they use a convoluted procedure to update the cart via AJAX). … Now your content reloads via AJAX, and the links still work after the cart changes. …
Jongosi's user avatar
  • 1,531