HI there I am using the working with the following script
Add icons to your links automatically using jQuery & CSS http://cool-javascripts.com/jquery/add-icons-to-your-links-automatically-using-jquery-css.html // Add pdf icons to pdf links $("a[href$='.pdf']").addClass("pdf"); but I only want to add the class to links that are children of a div with the class .icon-menu can somebody provide me with insite as to have I can limit the above statement to work in this fashion?