try:

$('#id-of-my-div').load('somescript.php?name='+escape($(this).val()),
{}).fadeIn("slow");

On Jul 2, 9:35 am, Pickledegg <[EMAIL PROTECTED]> wrote:
> Thanks Equand, unfortunately my fadeIn doesn't seem to have any
> effect. Hmm, maybe its because the contents of the div has already
> been loaded at this point?
>
> Perhaps I'll have to go a bit more technical than just using the load
> method...
>
> On Jul 1, 11:56 pm, Equand <[EMAIL PROTECTED]> wrote:
>
> > try
>
> > $('#id-of-my-div').load('somescript.php?name='+escape($(this).val()),
> > {},function(){ $('#id-of-my-div').fadeIn("slow") 
> > });http://docs.jquery.com/Ajax/load#urldatacallback
>
> > On 1 июл, 14:26, Pickledegg <[EMAIL PROTECTED]> wrote:
>
> > > I'm using an ajax load() with an onChange event:
>
> > > $('#id-of-my-div').load('somescript.php?name='+escape($(this).val()));
>
> > > Which is lovely, but how can I add a fadeIn to it so that every time
> > > my div is updated, it fades into the div in a sultry & provocative
> > > fashion?
>
> > > Thanks.

Reply via email to