I started using JQuery today and I'm trying to replace some codes with it since it doesn't recognize the document.getElementsByTagName anymore.
I have a problem with the function $. I'm using a function which gets a parameter of an unknown object like this:
Then I would like to get all the img tags inside this object. What I would have done is:
But I can't seem to find the solution using jquery.
var imgs = obj.document.getElementsByTagName('img');
Can anyone help me with this?