Selector with child/name
2 simple jquery questions i seem to be having a problem with...
I need to simply retrieve the child element of a div of a specified element name. What I quickly realized was I couldn't even construct the approriate selector to get any element by name. I read that $('[@name=foo]') was the way, but it didn't work for me.
If someone could tell me the selector for $("#id_of_div").child-where-name=foo, I would be grateful. I'm sure the answer is simple, which are the exact things my brain is having problems with these days.