Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
101 views

Ajax function with a callback

I have Ajax function with a callback which fetches all the Patient data however I have some perfomance issues and trying to figure out what it might be, does anyone have idea? That's my Code ...
Mike J's user avatar
  • 33
0 votes
1 answer
2k views

pass argument to jQuery .on() event handler callback [closed]

In my web application, a user will click a button which will call a function that triggers an AJAX call. That function accepts a single argument. I would like to be able to put that function in ...
Aaron Goldsmith's user avatar
3 votes
2 answers
190 views

jQuery handler to update map UI based on AJAX response

I am working on a university project that consists of creating a map application with openlayers as well as the necessary User-Interface. I am using jQuery, native JavaScript, PHP and of course HTML/...
phloose's user avatar
  • 31
2 votes
0 answers
68 views

Controller to execute AJAX requests for a client

I have been developing this structure or pattern (I don't really know how to call it). It's my first time doing something like this, and I'm a bit worried about the future, if it becomes unmanageable. ...
Vistor's user avatar
  • 43
5 votes
2 answers
364 views

Swapping dynamically populated images on hover/touch

I'm using jQuery to swap images on hover. There's a main image, and a gallery of thumbs. When the thumb is hovered over/touched, the larger version of it populates the main image, and the smaller ...
alexwc_'s user avatar
  • 249
5 votes
1 answer
110 views

Process chain approach

I've been researching about JavaScript and jQuery function chaining and different callback techniques. I am trying to create a very generic code that allows chaining, and in a way that I may create ...
Maurício D'Angelo Fernandes's user avatar
4 votes
1 answer
201 views

A method for events callback with the correct "this"

What do you think of the following "utility" : ...
Julien CROUZET's user avatar
2 votes
2 answers
1k views

JavaScript parameters - best practices for settings object/callback

I have the following function which runs as expected and is defined in the window object: ...
keldar's user avatar
  • 333
3 votes
1 answer
190 views

Using jquery Callbacks.fire method as a event handler

So I've got a jquery project where I'm using an external class that has callback style events. Meaning, it has an "onSave" property that takes one function. However, I need to more than one other ...
Andy Smith's user avatar
1 vote
1 answer
235 views

Callback for job applicant

This is on a job listing site and it has a Linkedin apply button plugin - this provides for a callback the someone has applied for a job. I've written the callback function which extracts the Job ID (...
user602088's user avatar
4 votes
1 answer
183 views

jQuery callbacks optimization

I have a lot of repeatable blocks of code and want to optimize/simplify them: ...
350D's user avatar
  • 143