[jQuery] Image.css("display") not working

[jQuery] Image.css("display") not working


<image id="myimage" myimgid="myimageid" src="baloon.jpg" />
I want to check the style display for this image. I am doing as:
$("image[myimgid='myimageid']").css("display");
but its coming undefined. I cannot check it with id as my id is
getting runtime generated. Please help.