Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
19k views

I've been having errors with this code. I'm new to bootstrap and using modals for things. I used to run off child forms for all my 'fancy' forms but now I'm doing a move towards modals. This is my ...
7 votes
2 answers
9k views

I'm making a mobile website, using jQuery Mobile and ASP.NET 4.0 Webforms. I have made an initial login page (Default.aspx) in which the button calls an ajax JavaScript function, which calls a page ...
-1 votes
0 answers
46 views

I implemented the post like feature using ajax in the Django project, but it doesn't work. And it gives a 404 error in the console. template.html <script> $(document).ready(function(){ ...
4 votes
3 answers
10k views

I used postman to test my web service. In the http response body, I find the WS's response. When I test my call, in my web application, using ajax, I can not find the response anymore. The tab ...
0 votes
2 answers
63 views

I'm trying to call a simple static WebMethod in my ASP.NET Webforms page using jQuery Ajax, but it doesn't seem to be working. I've tried enabling anonymous authentication and other fixes suggested ...
1 vote
1 answer
985 views

For context, I am attempting to cross-site call an API which needs the user to be authenticated with basic auth. The Tomcat (7.0.43) serving the API is set to allow cross-origin calls with ...
48 votes
8 answers
223k views

I need to pass CSRFToken with Ajax based post request but not sure how this can done in a best way. Using a platform which internally checking CSRFToken in request (POST request only) initially I was ...
0 votes
1 answer
213 views

I'm trying to build a page with AJAX and JavaScript that displays the contents of an XML file filtering it by node value. The XML is similar to this: <?xml version="1.0" encoding="UTF-8"?> <...
1 vote
1 answer
85 views

I know this has been asked 1000 times already, but I'm not seeing anything wrong in my code and am still getting a 400 error (XHR). Here is the code from my plugin: require_once( plugin_dir_path( ...
16 votes
4 answers
30k views

I have AJAX code where if you request an AJAX call to remote server the request fails: function loadXMLDoc() { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari ...
3 votes
1 answer
15k views

(I found some similar questions but none of them solved my problem so this is not a duplicated question I think) I want to retrieve filenames in one of my folder using jQuery. I tried the following ...
0 votes
0 answers
65 views

I want to fetch the corresponding value of my dropdown the image below shows the form and the database. the table was inside the Javascript and I am having a difficult time in figuring out this ...
1 vote
2 answers
18k views

Here's my code based off this question $(document).ready(function(){ $('#new-quote').click(function(){ var url = 'http://api.forismatic.com/api/1.0/?format=jsonp&jsonp=_'; $.getJSON(url,...
0 votes
2 answers
2k views

I am using ASP.NET Webforms and in one page I want to make an AJAX call to a web method in the code behind. The problem is that web methods are static and I can't access page variables. I need to be ...
2 votes
2 answers
12k views

We are using HP fortify Audit Workbench 3.80 to assess vulnerabilities in our applications. Fortify marks the the following ExtJs JavaScript code as a Critical (the "worst") DOM XSS vulnerability: ...
0 votes
4 answers
103 views

I have a problem with my AJAX, it can't display data from database. Controller public function rating() { $rating = $this->db ->select_avg('hasil_rating') ->get('tb_rating'...
2 votes
2 answers
8k views

The process of exporting the data into Excel is working. But I don't need to reload the page. When I try to press the Export Data to Excel the page is reloading. How to avoid this? Please, help. Thank ...
37 votes
2 answers
34k views

I'm trying to send emails using mandrill email service but I get the following error: [ { "email": "[email protected]", "status": "rejected", "_id": "...
1 vote
0 answers
134 views

I am trying to pass a javascript array of objects to a .NET controller action List<> parameter. Below is my C# public bool ImportACE([FromBody] List<Element> elements) { foreach(...
0 votes
1 answer
749 views

The 429 responses issued by API Gateway (when lowering the max concurrent requests and exceeding it) do not have the CORS headers, so the ajax request in the browser just throws error without any info ...
-2 votes
1 answer
395 views

When i scan the WhatsApp code on my phone, the web site switches IMMEDIATELY to the actual WhatsApp page with the chats and all. I was wondering, how does the whole process look like? When I scan, my ...
0 votes
1 answer
229 views

I'm trying to update a user status to either enabled or disabled in the user database. I already have my toggle in place. When I view the user table from the dashboard, I want to be able to see the ...
-3 votes
1 answer
132 views

Here is my JavaScript file where my goal is to send value of variable va to jsp file and output it. The problem is that I can't find the bug. JavaScript file $(function(){ $("td").click(...
1 vote
2 answers
80 views

I purchased an HTML template online to build a website for a client, but I'm running into an issue with anchor links. The anchor links are supposed to scroll to specific sections of the page, but ...
0 votes
1 answer
1k views

React js not sending cookie, I am using react-redux thunk for sending request, all requests are sent are not using the cookie session id. Because of missing session id, the server generate new cookie ...

1
2 3 4 5
4419