Questions tagged [livequery]

Live Query utilizes the power of jQuery selectors by binding events or firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.

127 questions
0
votes
2 answers

Request is sent twice to the server

I am using the live query plugin of jQuery to attach dynamic behavior to form elements and create ajax forms. The problem i am facing is as follows: in the response to submit if I do not call livequery again on the elements, then the newly loaded…
user210504
  • 1,749
  • 2
  • 17
  • 36
0
votes
1 answer

Jquery Slimbox and AJAX Image Swapping Issue

First I'll mention that I have browsed through countless questions and answers, many of which would logically seem to work. I am having an issue with slimbox and AJAX. I am performing a simple image swap and when I do so, slimbox will not work for…
0
votes
1 answer

LiveQuery Parse server subscription does not trigger events

I have been trying to create a live query on a Parse server using a subscription, but it seems like some events are not triggered. I log every event that the subscription receives, and I know that 'open' is triggered. However, I do not receive any…
MsBlueSky
  • 31
  • 5
0
votes
3 answers

function inadvertently executed when using .live in jQuery

I'm trying to bind a click event handler to some elements that are being created dynamically. But the function already gets executed on simply loading the page. I also tried the livequery plugin and .delegate which also had that unwanted…
henning
  • 3
  • 1
0
votes
0 answers

Bootstrap-star-rating plugin - Events are being called multiple time

Am using this Bootstap star rating plugin version v4.0.5 with JQuery 3.1.1. I have initialized the plugin after calling livequery plugin (from this author Brandon Aaron) as my star rating input is added on demand when the DOM is already…
BoCyrill
  • 1,219
  • 16
  • 17
0
votes
1 answer

Alternate For livequery to attach events for paginated grids

I am using livequery for my project for attaching events in links in table/grid. The grid is paginated ajax calls. The confirmable link shows up a dialog when clicked. This click event is attached to the grid using livequery. Below is a mockup of…
frictionlesspulley
  • 11,070
  • 14
  • 66
  • 115
0
votes
2 answers

livequery doesn't bind after a DOM insertion

I don't understand why livequery doesn't bind the event, but I have to use .click. This is just an example, which might also use the .click(), but in the real code I'm forced to use livequery. Does anyone know why livequery isn't working? function…
M4rk
  • 2,172
  • 5
  • 36
  • 70
0
votes
1 answer

problem with jquery live submit

I am trying to bind the submit function to a number of forms in my page, but the problem is they still keep submitting the form! I tried these: $(".toggle-form-submit").parents("form").live("submit", function(e){ var myForm = $(this); …
corroded
  • 21,406
  • 19
  • 83
  • 132
0
votes
0 answers

jQuery to detect DOM changes

I am working on a jQuery plugin where I need to manipulate DOM for some insertions and deletions and I am required to work with some specific class (say class demo). I have to make it work with Angular/AngularJS/JS or any framework. Problem I am…
0
votes
1 answer

livequery behaving strangely for dynamically added elements

When I use the following, I see all divs static and dynamic one by one including the dynamically added div #xyz jQuery('div').livequery(function() { alert($(this).attr("id") + " div added") }) but when I use jQuery('#xyz').livequery(function() {…
prat
  • 607
  • 2
  • 8
  • 22
0
votes
2 answers

Orientdb: Error executing live query subscriber

Orientdb throws on each live query subscripion using binary protocoll following Nullpointer exception: Error executing live query subscriber. java.lang.NullPointerException at …
Elvis
  • 1
  • 1
0
votes
2 answers

jQuery append html

jQuery('.block').append(html); How do I run livequery on this append? I've http://fancybox.net on my image, trying to execute it for appended html.
James
  • 42,081
  • 53
  • 136
  • 161
0
votes
1 answer

livequery not working with groups

I am using some nice plugins from jQuery for using AJAX based sites. Now I came to the problem that I would like to use livequery for specifying my slimbox. The problem is, that it doesn't get my groups as stated in the linkFiler…
Marnix
  • 6,384
  • 4
  • 43
  • 78
0
votes
1 answer

How does .livequery() work when it only receives one parameter?

I was visiting https://github.com/brandonaaron/livequery trying to find the syntax of .livequery(). From what I can see there in the official documentation, .livequery() can receive two or three parameters: // selector: the selector to match…
Jaime Montoya
  • 6,915
  • 14
  • 67
  • 103
0
votes
1 answer

Can any .livequery() code be written with an equivalent .delegate() code in jQuery?

I was reading http://api.jquery.com/delegate/ and I learned that any .delegate() code can be written with an equivalent .on() code. The link provides this example: For example, the following .delegate() code: $( "table" ).delegate( "td", "click",…
Jaime Montoya
  • 6,915
  • 14
  • 67
  • 103
1 2 3
8 9