[jQuery] Capturing CDATA from XML response

2009-02-22 Thread sere
Hello, I've searched everywhere and can't find a specific answer to my problem. I have a certain function which posts to a backend.php file. The php file generates some XML which is returned to the callback function. The problem is that it alerts "" (it also adds hyphens) but it doesn't get ap

[jQuery] Re: Double-click and toggle

2008-10-03 Thread sere
If an is single clicked, nothing should happen. If it is double clicked, it will perform a certain action on the element. If it is double clicked again, the will revert back to normal. On Oct 3, 9:59 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > Can you describe what you want to happen? For e

[jQuery] Double-click and toggle

2008-10-03 Thread sere
Hello, I've been trying to figure out how to combine double-click and toggle but haven't had any luck. Here's what I have so far: $("li").dblclick(function() { $(this).toggle(function() { $(this).doSomething(); }, function() { $(this).backToNormal(); }); }); Any