Questions tagged [ajax]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

AJAX form validation

I am trying to validate my form, I am having some difficulty. I have tried two the methods, I like the keyup method but think it will be a bit too complicated. One of the biggest issues is submitting ...
0
votes
1answer
273 views

pset8 finance check sub-problem

Working on 'check' problem in finance. I've implemented the actual check function via GET HTTP and responses are valid, have also implemented into the register.html page, with simply displaying the ...
0
votes
1answer
730 views

pset8 - finance - check - ajax - preventDefault()

I have been working on the final check part for the pset8 exercise. In the registration part, when the username is taken, I could get an alert. However, I couldn't seem to stop it from logging in. I ...
0
votes
1answer
739 views

Access just the text from a db.execute return

Evening all. I am working on my final project and have a question about db.execute. When I run my SQL search the return always has the format {"key": value}. Is there any way to then extract the ...
0
votes
1answer
159 views

Blocked loading mixed active content EM after ajax post request to a flask app

In my browser I see the url and it starts with "HTTPS ://ide50etc". I get the EM however that says "loading... HTTP ://ide50etc". Why does it do that? It doesn't happen all the time. When my session ...
0
votes
1answer
1k views

pset9: ajax posted json object to flask makes flash messages and rendering templates impossible

I have an app with a form. I put all the info retrieved from the form in an object and then call JSON.stringify on it so that it becomes a json object. Then I post it with an ajax call and my flask ...
0
votes
1answer
165 views

pset8 (mashup): Onion articles not showing

My links for non-Onion articles are displaying just fine in infoWindows attached to markers, but even though the Onion aricles are fetched correctly through ajax, they are not being displayed in my ...
0
votes
0answers
54 views

PSET8: dealing with empty infoWindows

My infoWindows are working fine when there is text to be displayed in them, but I'm struggling with empty infoWindows. The code I tried to use to implement the empty window functionality is below: $....