All Questions
4,033
questions
0
votes
0
answers
50
views
Menu and submenu with 2 modal in laravel
I have a problem with menu and submenu calling with 2 different modal. I would like when choose in the first menu see the elements of the submenu in another modal. The problem is that I loss the ...
0
votes
1
answer
40
views
C# ajax post request 404 not found
I have an ajax query running from a page located in a folder Project/Pages/IT/NewEmailSetup
I want it to call a post request to a controller thats located in Project/Controllers/...
1
vote
1
answer
33
views
Jquery Ajax Post Alert is Noth Showing the Returned Data, it is showing the current page source
I am not getting the expected result when trying to post a form using ajax.
I have a simple form. I also have a jquery script to submit the form so I can try to pre-validate a captcha text box before ...
0
votes
1
answer
19
views
Problem sending json data from js file to .NET controller through ajax post
So, I am trying to get from the client (js) to the server (.net controller) a json string through an ajax post. For some reason, which I cannot understand, it arrives into the controller, but the list ...
0
votes
0
answers
17
views
Wordpress Generated a list of page from button with AJAX
I am new in coding and I have issues to understand how Ajax works. I created a button which allows to generated a page in wordpress that can be edited after. I want that when I click on the button it ...
0
votes
1
answer
33
views
Click button change the css in php and ajax
I am struggling to use Ajax so I tried to just use Javascript without it. I want to create a button switch on a banner so I can change the style of the page between 2 css files already created. I had ...
0
votes
0
answers
18
views
Why Ajax post method is not connecting to the php page "view.php" and always the error part of the response is the output
I have id taken from an html element and i want to use it in my php page, so i cross it to php page using post method but it seems to be not working in my case. And everytime the error part of the ...
0
votes
1
answer
32
views
Django render a view depending geolocation from the browser
I'm trying to load my home page according to the geolocation given by the browser, if the coordinates are ok, I load a list of airports around these coordinates, otherwise I load all airports.
However,...
0
votes
0
answers
10
views
400 on ajax post using microsoft studio debugging local. probally a __RequestVerificationToken issue
I seriously wonder why my post script doesn't work...
Watched many solutions here, but i can't get it seem to work.
Please help me out
I am getting a 400 status message in retrun..
What's wrong down ...
0
votes
0
answers
29
views
Javascript / Ajax Get Request Seems to Stop Code or Form Post Request
I have a web page that is utilizing ajax to have my backend Python code calculate some values via GET and return them to javascript for html form display (getrate function) upon a button click. This ...
0
votes
0
answers
40
views
Update image in laravel controller using javascript
i need to use javascript to update a image file from form in controller. The server response:(Internal Server Error)
For more clarify i post my code:
the view blade..php è:
<div class="col&...
0
votes
3
answers
98
views
AJAX Call Returning "Undefined array key"
I cannot get my AJAX to work. Any help would be appreciated as I have spent hours on this with no avail. I am using test-data until I stop getting an error:
<script src="https://ajax....
0
votes
0
answers
28
views
How to connect the yii2 project to React project?
I have server in yii2 and the react app. I need to send the messages from React to Yii2 and get the answer.
I tried to send using 'fetch', but the error was that the connection is week. What way is ...
0
votes
0
answers
12
views
How to prevent like icon class from changing to regular after reloading page?
I have a like button for a post. The like count is incremented in the database when the user likes the post, and the like icon class is changed to solid. However, when the user reloads the page, the ...
1
vote
1
answer
32
views
Is it possible to send Data to a PHP Skript like this (AJAX)?
methods: {
ajax: function (task, callback, variables) {
let xhr = new XMLHttpRequest();
let send = "&variables=" + encodeURIComponent(variables);
...