live

jQuery: using .live method also for elements/plugins?

hi all, i made a simple jQuery button widget (plugin) which initializes like this: var cmd = $(".tButton"); cmd.tButton(); is there a way to use .live for all future buttons (getting loaded via ajax)? thx ...

Need help with windows live api contacts importer example in php

I am trying to find a php example code where it imports contacts from the windows live contacts api. I have examined the microsoft api manual - but it only gives code examples in C# (http://msdn.microsoft.com/en-us/library/bb463989.aspx) . I am new to this and need help to get started. This is the place where it looks like I could get i...

jquery Checkbox live click event jams firefox when actually clicking the checkbox

I have the following jquery code specified: $('#firstbox ul.checkboxlist input[type="checkbox"]').live('click',function(){ $(this).parents('li').remove().clone().prependTo('#secondbox ul.checkboxlist').animate({backgroundColor: '#FAEA96'},100, function(){$(this).animate({backgroundColor: '#FFFFFF'},800);}); }); It takes the li, remov...

How to access array in jQuery live event?

I have the following code: var numberOfSelectedOptions = new Array(); numberOfSelectedOptions[0]=0; numberOfSelectedOptions[1]=0; numberOfSelectedOptions[2]=0; $("a.tagvariantoption").live("click", function(){ alert(numberOfSelectedOptions[2]); }); The alert always says "undefined". It works perfectly when alerting outside of the li...

jQuery how to have a event only triggered once on clicking a div

This is probably pushing the limits of jquery. I want to have the live() event triggered. But I only want to let it be triggered once using perhaps the one() event. Currently I have the code blow. How do I restrict this to only being called once. $(".sub-content").live('click', function() { var id = this.id; $.get("InfoRetriev...

Firefox Live DOM

Is it possible through a plugin or setting or something to allow Firefox to recognize the live DOM source code? Basically, firebug or other similar tools can recognize elements on the page which Firefox does not. I understand with these extensions I have the ability to see such changes made by javascript, but Firefox does not seem to f...

Visual Studio Error: You are not logged into Windows Live Messenger

Does anyone know why visual studio does this? ...

Jquery add image, no click event

I'm appending a table row with an image that when you click it, it fires an event. However it looks like you can't add a 'clickable' image dynamically. all the previous rows with images are identified by their class attribute when clicked (they loaded with the page). What I want to avoid is using the live event and making a seperate f...

Streaming live video to a web site

Hi, I've received a request asking if it's possible to stream live video to a web site. The person requesting this has a notebook running MacOS, a professional camera that can be connected up using Firewire and a web site with PHP/MySQL. What solutions exist to stream the video out on the Internet and, if practical, what would be neces...

Live Notification Jquery

Can someone lead me down the right way to make a live notifications e.g Knowing when a new Row in Added in Mysql know if a php file has changed ??? how should i go about it? ...

Live AJAX content

My friend and I maintain a submission site with comments. We want to know if it is possible to have a constant AJAX connection. Basically, each submission has a comments section. My friend had an idea of having an alert appear on the page everytime a new comment came in. So, would it be possible to keep up a constant link between the AJA...

Upload live streaming video from iPhone like Ustream or Qik

How to live stream videos from iPhone to server like Ustream or Qik? I know there's something called Http Live Streaming from Apple, but most resources I found only talks about streaming videos from server to iPhone. Is Apple's Http Living Streaming something I should use? Or something else? Thanks. ...

Can someone tell me what's wrong with my jQuery live method?

I've created this simple time picker app but for some reason this snippet of code isn't working. I had it working (maybe it was my imagination). I have 4 radio buttons. With each button having a click event attached (using jquery's live method), I show a DIV and hide the other DIVs. I also (i thought i was) adding a plugin's method t...

Is there any application that shows live changes while you design your Website? (not WYSIWYG)

I think an application like that would make web design faster, providing faster visual feedback. But I don't see many applications like this. Are there big drawbacks for this kind of programs? So basically I would like to know if there is an application that provides live changes like Firebug and coding tools like Notepad++. ...

Scaled live iPhone Camera view in center, "CGAffineTransformTranslate" not working

Hi, I have a little problem which I could not solve. I really hope someone can help me with that. I wanted to resize the live camera view and place it in the center, using the following code below: picker.cameraViewTransform = CGAffineTransformScale(picker.cameraViewTransform, 0.5, 0.56206); picker.cameraViewTransform = CGAffin...

Jquery headache - live traversing

Hi guys, I am trying to accomplish to show a div that is in the same list element as the button that executes a javascript statement. The whole list is loaded by Ajax, so therefore is the live function used. However, i am quite stuck right now and have no idea of how to proceed. I have tried EQ, next, parent, children in several diffe...

Maintain reference to this in jQuery

I'm converting a bunch of hyperlinks to make simple GET requests using jQuery. I want to maintain the reference to this within the Ajax call, do i need to be using bind/live/something else? $(document).ready(function(){ $(".mylink").click(function(){ var url = $(this).attr('href'); $.get(url,function(data){ ...

jQuery live click binding issue with IE6/7

I have an issue in IE6/7 where they ignore the live binding of elements. I can't seem to find any solutions to this issue, and I really need both IE6 and 7 support (fixing one should fix the other anyway). The first click of my elements works as intended but afterwords the binding goes away and I can't get it to work. This does not happe...

Is there a way to get the file path of a live preview in cs4?

I have a component that is supposed to load in an xml file and display it. I have that working however now I need the live preview to work as well. Is it possible to load a file into the livepreview? It seems the breakdown is that the live preview can not see it's file location, so it can not path to the files to load. Thanks! ...

JavaScript live syntax highlighter

Do you know a good live syntax highlighter written in JavaScript? With live syntax highlighter I mean a WYSIWYG editor that can be included in HTML pages and that is able to highlight the code in real time. Like a Notepad++ but in JavaScript. I've already read this question: http://stackoverflow.com/questions/61655/are-there-any-javascr...