[jQuery] Re: Brain fade...how do you destroy a div?

2008-03-28 Thread Tamm Sjödin
Sounds like an odd way to do it, just do $('#div').remove(); works with any DOM selection and it's chainable $('span').fadeOut().remove(); Live long and prosper, Tamm Sjödin On Mar 27, 2008, at 6:22 PM, Gwyn Morfey wrote: mydiv.parentNode.removeChild(mydiv) works

[jQuery] Re: Strange bold look after a show in IE6

2008-03-28 Thread Tamm Sjödin
just as a tip, a blank.gif usually works as well as any background in this fix (1x1 pixels filled with nothing for any beginners ^^) Live long and prosper, Tamm Sjödin On Mar 28, 2008, at 4:21 PM, Snef wrote: Try to use a background Olivier Percebois-Garve wrote: Hi all, I'm using

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
It's a search function that I trigger on key up. It doesn't work bad it's just a risk of previous requests finishing after the last one, meaning the content of the result box being replaced again but by the wrong stuff. Stopping all ajax calls was just one of my solutions, one that seemed easy to

[jQuery] Re: Floating box that follows the user down the screen

2007-08-22 Thread Tamm Sjödin
what's wrong with a fixed position? :) $('p').css({position:'fixed',left:'50%',top:'50%'}); or perhaps you just need to make a more indepth description ^^ GL, Tamm On 8/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hiya, On part of a site I'm working on I want to add a floating help

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
search parameter (if different you force a new call else it's done) 'Hope that's help you On Aug 22, 8:59 am, Tamm Sjödin [EMAIL PROTECTED] wrote: It's a search function that I trigger on key up. It doesn't work bad it's just a risk of previous requests finishing after the last one, meaning

[jQuery] Re: probleme with $.post() and IE

2007-07-10 Thread Tamm Sjödin
um... why post nothing? load would make more sense... Cheers, Tamm Sjödin On 11 Jul 2007, at 00:41, Mezcalito wrote: Hello Y a trying a very easy ajax request with Jquery : $.post(index.php); in apache log i can see : 127.0.0.1 - - [11/Jul/2007:00:34:21 +0200] POST /index.php/map

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
that's exactly what my code does too, only mine replaces the previous data. and I do get a response, it isn't that, I just get no transfer to the $_POST array there is no JS or php error reported by firebug or any other. realtime example: http://l.ängel.se/admin/ what you type in the

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
but then I'd probably not get any answer at all. I do get an answer, just not one filled with the data I try to send. On 7 May 2007, at 23:55, Equand wrote: maybe it doesn't like this /scripts/login.php? ./scripts/login.php might help... On May 7, 4:36 pm, Massimiliano Marini [EMAIL

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
} I do not, however use quotes if the value I'm passing is a JavaScript variable: {u:ThisUser, p:ThisPass, r:ThisR} I *think* that maybe JavaScript is trying to evaluate u,p and r as variables with values. That's not your intent is it? Hope this helps. Cheers, Chris Tamm Sjödin wrote

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
comments on this as a solution, it seems to work but... is it like legit? (it does work now though) Cheers, Tamm Sjödin On 7 May 2007, at 00:30, Tamm wrote: Hi I'm feeling very stupid asking this but here goes: I'm sending something like this $.post(/scripts/login.php,{u:USER,p:PASS,r:STAY