Find first child element under first div with class “commerce “
Save href attribute from image to Variable href
Step up element structure to first <Table> encountered
Wrap Table element in <a> tag
Add href from variable to the <a> tag
Continue down document to next element with a class of “ commerce “ and repeat until no other elements with "commerce" class exist.[/code]
I'm new to jQuery and scripting so this is over my head. But I thought it was very doable and should be a good place to get my feet wet :D
Here's what I'm thinking so far:
[code]
$(function(){[/code]