What do you mean by "required tag"? Do you mean the attributes in the tag/element, like src="pic1"?
If you want the "src" attribute of the element you have selected you could do this: alert( $("#k img").get(i).attr('src') ); Or if you have more than one 'img' inside the '#k' div you could loop through each like this: $("#k img").each( function( index ) { // 'index' will be a number from 0 to ( number of 'img's - 1 ) // 'this' will be set to each 'img' element alert( "index = " + index + ", this.src = " + this.src ); }); Karl Rudd On 4/10/07, bjb <[EMAIL PROTECTED]> wrote:
thanks a lot as a jquery beginner I wonder if there is no jquery way to get the required tag? best regards Bernd -- View this message in context: http://www.nabble.com/outerHTML-and-Firefox-does-not-work-tf3549488s15494.html#a9910093 Sent from the JQuery mailing list archive at Nabble.com.