Of course it's jQuery, and not my lack of understanding causing this issue, but just in case it is my incompetence, can someone please tell me how to return the text "Acme" within this tag?
<div class="grid-56" id="1005" style="border:solid 1px lightgray;">
<div class="grid-20 bold">
<a href="#" class="id_select_company" id="company_name_dialog">
Acme
</a>
</div>
</div>
This doesn't seem to work!
var company_name = $("#" + id).children($("#company_name_dialog")).html();
It produces
<a href="#" class="id_select_company" id="company_name_dialog">
Acme
</a>
I don't want the anchor tag, just the text.