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
41
votes
10 answers

jQuery Drag And Drop Using Live Events

I have an application with a long list that changes frequently, and I need the items of that list to be draggable. I've been using the jQuery UI draggable plugin, but it is slow to add to 400+ list items, and has to be re-added every time new list…
devongovett
  • 4,850
  • 5
  • 34
  • 35
15
votes
2 answers

Is livequery deprecated

I'm looking at old code. I'm seeing that for elements that get added with ajax, there's lots of livequery code. Is livequery not needed anymore with the newer versions of jquery? Does anyone know after which version exactly it's not…
sameold
  • 18,400
  • 21
  • 63
  • 87
14
votes
4 answers

why doesn't the jquery change event fire when i use the up or down arrows on a select?

I am listening to the change event of a select dropdown using jquery and the livequery plugin. $(".myDropdown").livequery("change", function () { }); one thing i noticed (i am using firefox) is that The event handler doesn't fire from hitting the…
leora
  • 188,729
  • 360
  • 878
  • 1,366
11
votes
1 answer

livequery performance

I've recently discovered that livequery plugin for jQuery may be quite wasteful, as it does not use event delegation but binds all bindable events and re-checks the whole DOM on each change if anyone has more information or suggestions on best…
Zathrus Writer
  • 4,311
  • 5
  • 27
  • 50
7
votes
4 answers

Alternative to jQuery livequery plugin?

I need to check when an element is alive, I'm doing: $('#obj').livequery(function() { ... }); How can I do it with live method or another way?
Codnickers453
  • 95
  • 1
  • 8
7
votes
2 answers

Parse Cloud - LiveQueries - iOS Client doesn't work

I'm trying to use Parse LiveQueries. I use this Parse "Bootstrap": "https://github.com/parse-community/parse-server", I can see the logs: info: Create new client: 1, but I just do not get the update in the query although I have subscribed it. It…
Etgar
  • 5,774
  • 2
  • 16
  • 30
6
votes
1 answer

jQuery livequery plug equivalent in jQuery 1.7+

Is there the equivalent of the jQuery livequery plugin for jQuery 1.7+ ? I'm trying to dynamically bind events, reading the events a DOM element should bind on based on data-* elements. Test 1
empire29
  • 3,729
  • 6
  • 45
  • 71
5
votes
1 answer

converting livequery to live/delegate/?

Searching hasn't revealed a solution to my question so asking here. I've been using livequery() for a while now in combination with live(). Generally, I use live() for known events like click but using livequery for triggering on a specific…
Gregg
  • 34,973
  • 19
  • 109
  • 214
5
votes
1 answer

chrome.tabs.create is giving an error - "Uncaught TypeError: Cannot call method 'create' of undefined"

My manifest.json contains "content_scripts": [ { "matches": ["http://www.facebook.com/*","https://www.facebook.com/*"], "js": ["js/jquery-1.7.2.min.js", "js/jquery.livequery.min.js", "js/script.js"] } ] and the contents of script.js…
Shikhar Sharma
  • 123
  • 1
  • 1
  • 11
4
votes
1 answer

Problems with livequery and rte on firefox 3.5.2

i been using the following code for some time now and it has worked ok on ie6-8 and firefox 3. $("#article").livequery(function () { $("#article").rte({ cssUrl: "css/rte.css", mediaUrl: "css/rte/", listenToClass:…
mut
4
votes
2 answers

Triggering event when element added to DOM: JQuery Livequery Equivalent in 1.7

I want to trigger an event when a specific element appears on a page (I don't control the source page - this isa Chrome extension) I have read the docs about JQuery 1.7's on() method. However it seems to be about waiting for a specific event to be…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
3
votes
2 answers

Dynamically generating a jQuery Datepicker with altFields

I'm dynamically generating datepicker's by simply appending the field HTML to a div:
user275074
3
votes
2 answers

Toggle Problem in live event of jquery

I am stuck with this can anyone help me... here is the html
Shakeeb Ahmed
  • 1,778
  • 1
  • 21
  • 37
2
votes
2 answers

jQuery Live Doesn't Update Attributes Dom

I have a problem about getting title attribute.. $('.copy_button').livequery(function(event){ $(this).zclip({ path:'http://togl.me/tema/flash/ZeroClipboard.swf', copy: $(this).attr("title") }); }); The livequery function is…
oralunal
  • 393
  • 3
  • 16
2
votes
1 answer

livequeries wont update my values using paresplattform

Im building an SPA with parse.js and Vue.js and are using queries like these to pull things from my database. let query = new parse.Query("MyData"); const results = await query.find(); This works fine but my data wont update automatically when…
acroscene
  • 845
  • 4
  • 16
  • 45
1
2 3
8 9