Starson17,
If i wanted an if statement that checked if the parent was <div id='MainContent'>
how would I go about doing it?
would it be
Code:
mydaddy = item.parent
if mydaddy.name = 'MainContent'
.......
I seen examples of how you and others do a parent match for <a> and <p> and so forth but not for an actual div id... tag
thanks