live

JQuery Live() not working

Dear all, I have made an custom collapsible fieldset control in asp.net. I use jquery to add the toggle effects. The control works perfectly but when i am using my fieldsets inside an updatepanel, afer a postback i loose my jquery logic because of the document.ready. Now i have read about the new Live() function of Jquery but i don't ...

jQuery file upload after page load

I have a page that loads an HTML form via a $.ajax request. The form has a file upload option. I have tried several Ajax upload plugins and they all require me to instantiate some ajaxUpload() type object which internally creates the click listener. However these listeners dont trigger because the dynamically loaded form is not DOM acce...

jQuery live confirm

Hi, I'm having problems with .live() and confirm. It's multiplying the confirm dialogs for every click. I know about .die() but i can't get it to work. $("button.del").live("click", function(){ if(!confirm("Are you sure?")) { //close } }); I've tried $("button.del").die("click"); right after the abov...

Jquery Live and Draggable

Hi Everyone, I am binding a click event to an image using Jquery Live binding.  The first time I click on the image the simplemodal popup launches and draggable works fine.  After that, the simplemodal popup still launches and the draggable item will not drag.  Any ideas? Code of Live Click Event: $("table tr td img:not(.Help)").live(...

JQuery Live and Sortable

I am trying to implement drag and drop so I can sort lists of data and update the database with the relevant positions. I have a working example but when I try to use the same code on lists that are brought in via ajax the event is binding but none of its methods are triggered and the items do not stay swapped, (They swap back when you ...

Why is this code slower in Firefox?

<input type="text" id="sShState" /> $('#sShState').liveSearch(); // A plug-in // inside plug-in: $this = $(this); // On focus I add a dropdown box and add li's; var obj = '<ul id="ddList"></ul>'; $this.after(obj); $this.next('ul').html(li's); $('#ddList').live('mouseenter', function(){ var $li = $this.next('ul').children('li'); ...

Facebox plugin is not removing previous content when used with live

Hi, I am using facebox in the content that I have loaded with ajax Normally, the plugin removes previous content, so clicking multiple times on the same link would still show the one image. But not used with live. It will stack up the images Setting it to empty below will not work??It already does that in the plugin also? $('a[rel*=...

Is it possible to listen to any kind of internet radio with HTML5 directly?

Is it possible to listen to any kind of internet radio with HTML5 directly? I mean is it posible to play live mp3 streams in HTML5 complaint browsers? ...

live streaming video in html 5 - What is required from server to stream and let other domains acsess that streams?

live streaming video in html 5 - what is required from server to stream and let other domains acsess that streams? any cross-domain-polyci files? any special streaming servers technologies/requirements etc? (I want LIVE streaming NOT FILE streaming)? (like shoutcast or what ever) ...

How to do Windows Live Authentication in JAVA.

Hi, Does anybody has any pointer regarding this? We are currently trying with Java SOAP API. The URL used for windows live authentication is:https://login.live.com/RST2.srf <?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401...

I can't get 'return false' to keep .live() from repeating code propogation

I want this to be set up so that when a certain body of text is clicked, a text input field pops up, and the user can enter data into the field, then either click a 'save' or 'cancel' button and either send it to database or reset the value, respectively. However, despite usage of 'return false', I can't seem to keep this code from activ...

Direct/Live Preview Like Stackoverflow?

Hello, how do i do like Stackoverflow, when you type in this field, that the it previews directly under it?.. I have no idea how this have been made and i really like to do something like this to my website. I have a textarea that you edit, and then..? how to? Thanks ...

jquery 1.4 Live behaviour on .each?

Does jQuery allow us to use .each loops for live elements? I'm creating radio buttons on the fly and need to loop over all of them, but the .each loop doesn't seem to work on live elements. If jquery is not supporting this kind of live looping, is there any other way to accomplish this? ...

jquery live hover

I'm using the following jquery code to show a contextual delete button only for table rows we are hovering with our mouse. This works but not for rows that have been added with js/ajax on the fly... Is there a way to make this work with live events? $("table tr").hover( function() { }, function() ...

jquery add li to end of ul but last created li not recognised as last

I have the following code. On cliking the button on the last li, I can create the new li. However, once created, if I click on the latest button created, new li is created. It seems it doesn`t recognise the last created li as the last li. Can someone help on this please. <html xmlns="http://www.w3.org/1999/xhtml" > <script...

How should I integrate a live video feed onto a website?

I have a client who wants to display live 24 hour footage on their website, to show off the progress of a number of big refurbishment jobs they are carrying out. I've looked at IP cameras and to be honest this looks like the most logical technology to use, but not sure if I'm missing something. Would it be possible to put the live feed ...

How do I use jQuery .live to call a method on an element when it is created?

I have a page with some inputs of the class 'foobar', and I call a method on each of them. $("input.foobar").css('color', 'red'); and I am adding more .foobar inputs to the page with javascript. How can I use jQuery live (or any other method), to watch the page for the creation of new elements that match "input.foobar" and perform my...

Multiple environment (Development, Staging, Live) in Drupal

Hi guys, I am sure the title is pretty much the question but I would like to explain a bit more... Drupal is great CMS but it lacks of process to achieve multiple environment (Development -> Staging -> Live) Why I need multiple environment? For example, the site live and you want to add functionality or amend something, of course u do...

jQuery.live() not working inside of a plugin

I am writing a plugin and need to live bind a click. The plugin works fine when I do a normal click bind, but not a live bind. I've boiled the plugin down to the basics: (function($) { $.fn.liveBindTest = function() { return this.each(function() { $(this).live('click', function(){ console.log('live click'); ...

Why "Live" don't bind to the actual element

I'm facing few problems especially with event bubbling and also with the "live" method. I have a table with few cells and in each cell "td", there is a list and a links "li a". The links have a ".class" associated with them. So I just want to make the links works, I use the live method (because they are created dynamically) $('.aclass...