[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

[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

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
e sake of doing this the best way possible On 8/22/07, Matt Stith <[EMAIL PROTECTED]> wrote: > > A much better solution is to set a delay on the keyup, say, half a second, > then execute the ajax request when that timeout finishes. Its much easier on > your server to do it this wa

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
rm a > quick test to for comparing the last search made width the actual > 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: > >

[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, &

[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 i

[jQuery] Killing ajax calls

2007-08-21 Thread Tamm
I'm working on a function that sends far too many ajax calls, an easy way to take care of the problem would be to kill all ajax calls before sending a new one (i.e. if it isn't done yet, nvm the result) the xhr object idea works for one call or if you know all the previous calls but I simply want

[jQuery] Safari 3 known issues

2007-07-29 Thread Tamm
lable. fine, I can work around this but it's bloody annoying :P I didn't find anything in the group about these issues, are they only present in safari 3 and could we make sure to list them all for the sake of knowing when to just give up ? Sincerely, Tamm

[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

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
27;u="'+$('#loginname').val()+'"&p="'+$('#loginpassword').val() +'"&r="'+$('#loginremember').val()+'"'; I'd love some comments on this as a solution, it seems to work but... is it li

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
'+$('#loginname').val()+'","p":"'+$('#loginpassword').val ()+'","r":"'+$('#loginremember').val()+'"}'; with no change Cheers, Tamm Sjödin On 8 May 2007, at 01:29, Christopher Jord

[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
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 fiel

[jQuery] Re: $.post send data problem

2007-05-07 Thread Tamm Sjödin
gives me an empty array On 7 May 2007, at 15:33, Massimiliano Marini wrote: but the php $_POST[''] array get's no data... Have you tried something like this? var_dump $_POST[] // without '' -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent

[jQuery] Re: $.post send data problem

2007-05-06 Thread Tamm Sjödin
k, but it feels stupid when others can use jquery On 7 May 2007, at 00:33, Equand wrote: maybe try $_REQUEST[''] ??? On May 7, 12:30 am, Tamm <[EMAIL PROTECTED]> wrote: Hi I'm feeling very stupid asking this but here goes: I'm sending something like this $.post(

[jQuery] $.post send data problem

2007-05-06 Thread Tamm
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"},function(txt) {$("div#"+div).html(txt);}); but the php $_POST[''] array get's no data... now please tell me how stupid I am :)