Returning Attribute name from secondary Div.

Returning Attribute name from secondary Div.

Hi, I have the following code:

  1. <div id="sport">
  2.         <div id="page1" name="trial">Thanks</div>
  3. </div>

The id sport is bound to a ' click'  event.  This is fine but is there a way I can get the name attribute that is contained in the page1 div?

Thanks,
Lammie.