I have the following jquery snippet which looks for the div with the classes "selector-options my-wrapper selected"
<div class="selector-options my-wrapper selected">
<a class="my_anchor" title="This is my link title" href="www.myexample.com">
My Link
</a>
</div>
jQuery(window).load(function()
{
jQuery( ".elector-options.my-wrapper.selected" ).css( "border", "1px solid blue" );
});
This is working great but now I would like to save the .my_anchor link title attribute within the specific div as a variable.
Anyone got a example of something similar I can see?