Skip to main content

All Questions

1 vote
1 answer
186 views

Display name and email fetched using JSON API when hovering

I'm learning AJAX JSON. I'm just testing how to pull the data. The idea is, when hovering over the number, it pulls the data and show the content for name and email. Number 1 is to show name and ...
Udzzzz's user avatar
  • 11
8 votes
2 answers
344 views

Vanilla Javascript: Chained AJAX request

I'd be grateful for a review of my AJAX request. If I have taken the correct approach here and especially any security concerns! I am creating a Purchase Order system for my manager (as part of an ...
gclark18's user avatar
  • 201
0 votes
1 answer
90 views

Updating values in a database

I'm using standard jQuery Ajax to update values in the database and reflect the result in an output. This repetition seems like bad practice and I don't know enough about jQuery to consolidate this ...
prosportal's user avatar
1 vote
2 answers
97 views

Click a link to delete targeted content using Ajax

I used a glyphicon as a link to delete a comment: ...
Wizard's user avatar
  • 449
0 votes
2 answers
3k views

Handling keyup events with throttle or debounce in Javascript/jQuery

In my web application, there is a search input field, and when the user empties all of the text inside the input field, there is an API call made for a default-list of results, which are displayed in ...
Aaron Goldsmith's user avatar
4 votes
1 answer
63 views

Three identical AJAX button handlers in three views

In my Rails 4 app I have this event listener: ...
rrcdr's user avatar
  • 51
3 votes
1 answer
840 views

Handling a double click issue

I've been doing a lot of form submission using Ajax now and being used to it than having a normal submission. What's been troubling me is that I always ran with a double submission issue when the user ...
Robin Carlo Catacutan's user avatar