All Questions
4,026
questions
-4
votes
0
answers
52
views
Making a post request using AJAX in Javascript to a Python Flask Server Backend and receiving a 415 error
I am fairly new to web development so I apologize if my terminology is off, but some friends and I are working on a personal project website and I have not been able to find a lot of information ...
0
votes
1
answer
69
views
How do I set up my POST form submission to stay on the same page and input any errors in a div?
SOLUTION FOUND: SEE BOTTOM FOR UPDATED CODE
I have been trying to get this to work for about 8 hours now. I cannot for the life of me get a script to work for this. I have tried many different scripts ...
0
votes
0
answers
62
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
46
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
43
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
20
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
38
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
19
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
35
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
14
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
32
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
43
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
161
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
46
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 ...