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
1
vote
0 answers
React Native Parse LiveQuery error on socket
I am having trouble connecting to the LiveQuery server that I setup on the server side of my React Native project. I followed the instructions on the site verbatim, but can only manage to get 'error on socket' when I connect with numerous attempts…

Dana White
- 81
- 2
- 5
1
vote
0 answers
Getting elements created by Livequery
I'm doing a table using the plugin livequery
function soroRow(numSoro){
if(numSoro % 2 == 0) var cRow = 'even';
else var cRow = 'odd';
var content = ($('')
.addClass(cRow)
.attr('id', 'soro_'+numSoro)
…

Luiz Fernando
- 151
- 1
- 1
- 3
1
vote
2 answers
Jquery livequery 'click' doesn't work
I've got a problem with my Jquery, the alert doesn't pop.
Here is the code :
HTML (I've this div 4 times, which is a button) :
user4572276
1
vote
2 answers
Jquery and livequery
I have some ajax that pulls information into a table and i am trying to use livequery to add a class to every second row
$('a').livequery('click', function(event) {
$(".scroll-pane table tr:odd").addClass("Odd");
});
The problem is that the class…

salmon
- 41
- 1
- 2
- 7
1
vote
3 answers
Execute JavaScript function on a dynamic element (AJAX)
Hello i have this following function:
... var model = $("#carModel");
.... model.change(validModel);
function validModel(){
if(model.val() == 0){
model.addClass("errorJS");
return false;
}else{
…

jartaud
- 375
- 5
- 19
1
vote
1 answer
Using livequery: Can't find propagated element created via ajax
I'm using jQuery 1.3.2 and Live Query plugin. The script needs to work in FF as well as IE6. Upgrading jQuery and using live instead isn't a possibility.
Somehow this script won't be called by the dynamically created element.
…

Kel
- 309
- 1
- 8
- 25
1
vote
0 answers
Does jquery cycle plugin work with livequery?
I use this code and it's working fine on main page, but it doesn't work when you get new content through ajax (f.i. clicking on 'Recomendados' link)
$('.videoList').livequery(function(){
$(this).after('

Jorge
- 2,156
- 2
- 22
- 29
1
vote
3 answers
jquery livequery event triggered on EVERYTHING, not just selected element
I am attempting to use livequery. I unfortunately am stuck using jquery 1.2.6.
This is my code:
$(document).ready(function() {
$('a.sort').livequery('click', function(event) {
alert('hello');
});
});
If I click ANYWHERE in the…

phazei
- 5,323
- 5
- 42
- 46
1
vote
1 answer
Jquery - event does not work on the newly created element
I have a simple comment section where users can post comments to another users post - It works pretty much in the style of facebook wall where a user can write something on the wall and other can comment on it.
So I have this form where the user can…

Gublooo
- 2,550
- 8
- 54
- 91
1
vote
0 answers
Ajax stops working after call
I'm using One Click Upload (ocupload.js) to upload attachments with a custom mail form to a temp folder on my server.
After each upload, a small label with the filename is being added to a dropzone. Each label has a little remove button. When…

Pim Van Vlaenderen
- 117
- 1
- 12
1
vote
4 answers
livequery - confirm()
I don't get why this confirm() call fires up even though i hit "no". Can you tell me what i'm doing wrong?
$('.deleteButton').livequery('click',function(){
if(confirm('Are you sure?')){
return true;
}else
{
…

pixeline
- 17,669
- 12
- 84
- 109
1
vote
4 answers
jQuery - livequery plugin help
I add update messages as table rows when a user changes a radio button. I was running into the fact that once the message was added it didn't have the functionality that I thought it would since it was added after the page was already loaded. Then I…

mmarceau
- 59
- 1
- 9
1
vote
5 answers
jQuery using .on and .validate must submit form twice to validate
I am loading a form via ajax and usind the new .on() to load the jQuery validate plugin is not loaded before I press the submit a second time. I understand why I think. The on() function loads the validate on the form when I press submit. Is there…

asle
- 165
- 1
- 3
- 13
1
vote
1 answer
Autogrow jQuery Plugin on dynamic content in Internet Explorer
I am using plugin here http://plugins.jquery.com/project/autogrow and I got a problem in Internet Explorer and Chrome (Not Firefox)
See code below: