I recently updated jQuery from 1.8 to 2.1. I suddenly discovered that the .live() stops working. I get the error TypeError: $(...).live is not a function.  Is there any method I can use in place of .live()?...
What is the exact difference between live() and ready()?    Edit: found that die() is the opposite of live()...
I am using the jQuery live search plugin and need to bind it to all instances of a class. My class instances may or may not be dynamic.  I know I can accomplish binding it to the dynamic class instances by nesting it within a jQuery Live function, E....
<script> $(document).ready(function(){     $('.delete').live('click', function(e){         alert('delete');         e.preventDefault();     }); }); </script> <a href='#' id='_1' class='delete...
I'm trying to get a user's contact through Windows Live js API. I've read the official documentation, but I'm having trouble performing a simple connexion.  Here is what I've made :  WL.init({     client_id: 'myclientId',...
I know an iFrame is added to my page via javascript somewhere in my page, I want to be notified when it is loaded, but this doesn't work:  $("iframe").live("load",     function () {         alert(this.name + ": Im loaded!"...
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...
I have a div containing a href. The div has a jQuery live click event:  $(".item").live("click", function() {      window.location = this.id;   });   In the div I have a href:  <div class="item" id="/test.html">...
On this page: http://friendsconnect.org/chat/ you can see a very simple chat. How can I have it so the image doesn't flicker each time ajax is called?  Javascript:  function execute_check(){     $.ajax({         type:'GET',         url: &...
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 som...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.