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.
Questions tagged [livequery]
127 questions
2
votes
1 answer
jquery.timeago plugin: Won't refresh fuzzy timestamps after new content is loaded
I'm using this plugin https://github.com/rmm5t/jquery-timeago/blob/master/jquery.timeago.js
When I load new content to the Dom, the auto-refresh (of previous content) of the timestamps sstops working (with that new loaded content, works just…

Santiago
- 2,405
- 6
- 31
- 43
2
votes
0 answers
Live Queries subscription updates in Parse-server
Is it possible to get subscription alerts for live queries on a single client instead of everyone. I am using the following code to get update alerts for the object 'obj' on class 'class-name'. But the alert message comes on every client( i.e every…

sap
- 234
- 5
- 16
2
votes
2 answers
jQuery & livequery - check if a function has been attached to a element
I'm running this:
$("*:not(#boo) .content").livequery(function(){
$("input, select").blah();
});
blah() looks like this:
(function( $ ) {
$.fn.blah = function(){
var that = this;
return this.each(function(){
…

Alex
- 66,732
- 177
- 439
- 641
2
votes
3 answers
livequery stopped working
$j(".context-menu").livequery(function(){
alert('found');
});
This was working until a couple of days ago. It just suddenly stopped. On addition of new elements with class 'context-menu' nothing happens.
Although in firebug if I run the above…

Prakash Raman
- 13,319
- 27
- 82
- 132
2
votes
1 answer
livequery keypress event
(Im using the before() function from jquery to append a new
element to a div layer. $('#AddParagraphButton').click(function() { $('#TheLayer').before('
Some text...
'); }); here I have set keypress function…
Zebra
- 3,858
- 9
- 39
- 52
2
votes
1 answer
Parse LiveQuery not working
I have a Parse server with a LiveQuery.
I can connect to the live query by the log info: Create new client: 1, and websocket.org confirms the connection, however none of the completion blocks are being called.
Here is the full code:
self.pfclient =…

dblythy
- 108
- 1
- 7
2
votes
0 answers
does meteor support DBRef yet?
This question has been asked before but i have not seen any new(er) answers for over a year now.
I have been using php/mysql for some time now with extensive use of the mysql foreign key relationship, particularly where a child row has multiple…

edwardsmarkf
- 1,387
- 2
- 16
- 31
2
votes
3 answers
PrettyPhoto not work with livequery
Can anyone explain how to use PrettyPhoto with livequery?
$(document).ready(function()
{
$(".gallery a[rel^='prettyPhoto']").livequery(
function()
{
$(this).prettyPhoto({theme:'facebook'});
});
});
The code is right but…

Kelcio Casemiro
- 21
- 2
2
votes
1 answer
jquery live & livequery
I'm using jquery's load to bring in thumbnails via ajax. I'd like to user to be able to hover over the cropped thumb to view a small uncropped version of the image using imgPreview plugin. If they click on it, then bring up the full sized image in a…

Rick
- 273
- 1
- 9
- 23
2
votes
5 answers
jQuery's live and livequery not working for me when the form is loaded through ajax
I asked a similar question earlier How can I have jquery attach behavior to an element after inserting it, but still have not found an answer. To keep things clear I am asking a new question with a different example.
Here is my code that doesn't…

ToreyHeinz
- 585
- 1
- 4
- 16
2
votes
2 answers
if you have the latest version of jquery, is livequery still useful?
From what I understand livequery is for maintaining your events after DOM changes.
Does not the latest build of jquery already support this?

mrblah
- 99,669
- 140
- 310
- 420
2
votes
1 answer
Updating livequery table sorting code to .on
I am in the process of updating my site to jQuery 1.7 with plans to update to the latest version as a phase 2. Below is my existing livequery code that I need to update to .on() in order to maintain the table sorting functionality.
// EXISTING CODE…

12AX7
- 310
- 4
- 14
1
vote
3 answers
Change CSS live based on page width
I am trying to add certain styles to the page based on the current page width. I want this to function live. For example, when viewing on a iPhone and rotating the screen while viewing an already loaded page, the css will change. Also, I would…

pbal
- 43
- 1
- 6
1
vote
2 answers
SqlDependency (change notifications) in Compact Edition?
I guess the answer is no, but I'm asking anyway: SQL Server 2005 and later supports the implementation of live views on queries through the service broker mechanism. The .NET class SqlDependency uses this facility. SQL Server CE doesn't support…

John
- 6,693
- 3
- 51
- 90
1
vote
0 answers
Access to updated DOM objects within an anonymous function passed to LiveQuery
I have 2 input text form fields, and I would like to use Live Query and the values of both fields to GET a particular URI via AJAX. Here's an example of what I'm trying to do:
$('.AutoComplete').livequery(function () {
var state =…

Eric R
- 11
- 2