As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ajax]

For questions related to the use of AJAX that are specific to Sitecore (i.e. not general AJAX questions that would be better suited for StackOverflow)

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
4 answers
409 views

Unable to Call Controller in Ajax call

I want to destroy the session when the user clicks the fa-fa-close icon. I tried creating an ajax call and destroying the session. But when I call the ajax method this method throws an error. Can ...
Rajasekar's user avatar
  • 692
1 vote
0 answers
2k views

jQuery AJAX GET request returning “parsererror” error response message

In a scope of Sitecore Web project an API Contoller is used. Got the following response error message during jQuery AJAX GET API request: On a back-end side I use IHttpActionResult action method that ...
Vadzim Papko's user avatar
1 vote
0 answers
206 views

Restricting user from forcing manual submit to the Sitecore Url

Looking for the best practices to tackle a user behavior in my Sitecore 7.5 application. Basically there is an action method decorated with the [HttpPost] attribute. This action is invoked through ...
Abhi's user avatar
  • 31
0 votes
0 answers
39 views

Base URL is not coming correctly in AJAX call on landing page of sub site

My current Sitecore project has a multisite with URL structure as follows www.MainSite.com www.MainSite.com/SubSite Whenever I do an AJAX call from the subsite landing page the base URL is coming as ...
shahul's user avatar
  • 25
0 votes
0 answers
143 views

Submit WFFM via javascript ajax post without reloading the page?

I have a WFFM form on a page that has a lot of dynamic content. When the form is submitted, the page reloads (as a postback) to display the success message, which also reloads all of the content on ...
Erica Stockwell-Alpert's user avatar
0 votes
0 answers
206 views

Calling component from another component via anchor link

I have a modal component which is basically a popup with some content in it. I have to ask if it is possible to link that component from another component. For example I have anchor link in another ...
user avatar