221,695
questions
0
votes
0
answers
14
views
What is different in my Ajax vs XMLHttpRequest Call that lets my Server understand Ajax but not XMLHttpRequest?
I have a very simple server call like this:
[HttpPost]
[AllowAnonymous]
public JsonResult Test(TestRequestModel requestModel)
{
//do stuff
return Json(new { result.Success });
}
My ...
1
vote
0
answers
13
views
Updating a custom field value without manually saving in a WooCommerce admin product area
I would like to add the normal stock value of a product to the custom stock value that already has an order status (wc-on-hold and wc-processing). This works great, but only when I save the product ...
1
vote
0
answers
34
views
Laravel javascript variable get in blade file
I need get js var in view blade file.
I got this one in Controller and got success in console
in route file
Route::post('/some-route', [Controller::class, 'someMethod']);
Route::post('/some-route', '...
0
votes
0
answers
30
views
Custom Mini-Cart including a products slider with Add To Cart issues
I'm doing some customisation to the mini-cart. When a user adds a product to the cart, inside the mini-cart I'm creating a slider containing the added product's cross-sales. So for example, user adds ...
-3
votes
0
answers
16
views
how to do split in jquery? [duplicate]
some of the phone data in my table is 03121234567, some are 03121234567,05321234567
if there is no comma in the expression
print option 1
if there is a comma, print first 1 and then 2.
how do i do ...
0
votes
0
answers
15
views
Scrappinghub/splash is not rendering the dynamic content
Tried to use scrapy-splash, but at the moment of checking the image in my localhost:8050 interface (the port is being used with docker of the image scrapinghub/splash), every website i try is not ...
0
votes
0
answers
10
views
Ajax calls parallel instead of serial (but not when called from localhost)
I'm running a WCF Service on IIS. The Service uses "webHttpBinding" and
<security mode="Transport">
<transport clientCredentialType="Windows" />
</...
0
votes
0
answers
7
views
TypeScript: Progress Bar Timing Out and Pausing Unexpectedly
I'm implementing a progress bar in TypeScript using AJAX to fetch updates from the server. However, I'm encountering issues with the progress bar timing out and pausing unexpectedly.
class ...
0
votes
1
answer
29
views
pass custom class with IFormFIle and List<object> via Ajax to .NET Core 8
I have a class PreventivoDS
public class PreventivoDS
{
public int Id { get; set; }
public string? CodPreventivo { get; set; }
public string Data { get; set; }
...
0
votes
1
answer
20
views
Webscrapping magento website. API calls with 200 empty response when no timestamp specified
Help on magento website for scrapping purpose
I’m kinda new so sorry if some terms seem weird.
I am trying for a personnal context to scrap data from the website Prolians https://www.prolians.fr/ ...
-3
votes
0
answers
48
views
PHP response to AJAX Callback printing to screen [closed]
I encountered this really strange issue where my php method is sending back a json response after successfully saving the record into the database but the response is being printed on the screen ...
-1
votes
0
answers
13
views
REST endpoint gives Unsupported Media Type error for Upload file and JSON Data
I am trying to invoke a REST endpoint with file upload and JSON data as below;
req : {JSON}
file: <File>
My JS is as below;
formData.append("req", JSON.stringify(data));
formData....
-1
votes
1
answer
44
views
Uncaught TypeError: $(...).froalaEditor is not a function.... This is my problem [duplicate]
I have conflicting jquery versions, the lastest jquery 3.6.0 and then Froala's 2.4.2 I believe. As the process loads jquery and then Froala they interact and Froala overwrites the 3.6.0. I need both ...
0
votes
0
answers
14
views
How to keep logo static across all page loads? [closed]
I’m looking for a way to keep my animated logo gif static / not reload when you click into another page on the website.
I believe the solution to this would’ve been AJAX, but Squarespace 7.1 doesn’t ...
0
votes
0
answers
10
views
Calling ASMX task based method with object parameter results in Unknown web method error
I have an async ASMX web method which works as expected when passing a simple string (I followed the excellent information provided by Stephen Cleary on this question Calling Task-based methods from ...