Is the gif visible when you try to get it's height?
If not try this:
var height = $('#wait_also').css("visibility", "visible").height();
$('#wait_also').css("visibility", "hidden");

On 12 Sep., 12:23, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
> Sorry, this is very simple I think but I can't fathom it out.
>
> I have a select box (id=select_also) and a gif (id=wait_also) and I want
> the gif centred over the select box so
> I can turn it on and off as I reload the contents of the select box.
> I've tried adding in the jquery.dimensions
> plugin and the gif has the functions defined as properties, but
> $('#wait_also').height() is returning null.
>
> Can anyone please hold my hand on this?
>
> thanks

Reply via email to