Category "ajax"

pdf preview not working on html using ajax

url: "http://localhost/pdfupload/php/upload.php", dragDrop: true, multiple:true, acceptFiles:"application/pdf*", allowedTypes:"pdf", showPre

I want to highlight the Specific word in my ajax response loop

I want to highlight the word which user has searched. I am getting an array in response which will shows the occurrence of that word. I want to highlight that w

Issue on Getting PHP Generated Image By jQuery Ajax Call

Can you please take a look at this code and let me know why I am not able to get a PHP generated captcha (image) by Ajax call in jQuery? What I have in captcha.

Firebase addDoc not writing data to Firestore

I'm trying to write some data to my Firestore database. I've been following Firebase docs but for some reason nothing is being written to my database. I'm not r

HTTP Status 500 – Internal Server Error while uploading multipart/form-data

I am getting error when i uploading 20 MB Size of csv file in Spring MVC by using CommonsMultipartResolver library. I have done following setting in Config File

Error $wpdb when use Ajax in Plugin WordPress

I'm a beginner in development and wordpress. I create a plugin to display a dynamic carousel with the help of the generator https://wppb.me/. So when I select a

How to prepopulate name of the printer in the browser

I'm using ASP.NET MVC and I'm using a function with AJAX that opens in the browser the window to print. My questions is when I print I would like to already set

Wordpress ajax post filter by category/taxonomy

I want to do category base post filtering in WordPress. But I'm tired of debugging. I don't understand whether it is Ajax problem or something else. I tried man

Not getting the error message from asp.net web api backend in $ajax method

I have a simple ASP.Net Web API method that returns a BadRequest like this .. catch (Exception ex) { Log.Error($"CreateRequest:requ

How to set the legend area in a two-column fashion in Apache Echarts

I want to set the legend area in a two-column fashion in Apache Echarts, how I can achieve this with legend options? I'm not able to find any example related to

Why is my cors headers not matching even when they are the same?

I am using passport js with REACT and during fetching the logged in user-data the cors header of fetch isnt matching even though they are the same. this is wh

How to change a FullCalendar day cell via a js function call

When I look at examples of changing the appearance or contents of a day cell in FullCalendar, they look like this: calendar: { height: 650,

Ajax not properly sending Session variables

I am very new to AJAX and PHP and am currently working on a small website where I initialize php objects as session variables. The functions and objects are all

How to return the response from an asynchronous call

I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I am trying to return the value from the callback, as

Django update bootstrap modal not updating untill refresh

Django bootstrap modal form works when i create new data gets populated and pop up closes automatically without refresh but when updating success message appear

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

Ajax Post request body returns undefined

I am trying to send some data to backend using ajax post request. Like this $.ajax({ url: "/aa", dataType: 'text', type: 'post', contentType

XHR handling behavior between port 443 and non-standard port

UPDATE: It appears the problem is triggered when port 443 is explicitly specified. If I leave it out, no errors. For example: <!DOCTYPE html> <html&g

AJAX/FLASK/JS: How to POST existing array into endpoint?

I am trying to POST the songFiles array pushed from the getTableData() function (inside the ajax request) into the /api/fileNames endpoint, which is then sent t

Ajax Loaded Content - Deeplinking URLs

On my WordPress website I have a custom page template containing a post grid (showing the titles only) and on click on the title it is loading the whole content