mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

Implement IE7/8 compatibility #7

Closed audreyt closed 12 years ago

audreyt commented 12 years ago

The ID selector is encoded in .attr("href"), but for IE7/8 the return value are prepended with the current URL, rendering the selector invalid. (IE9+ works just fine.)

We fix this bug with a _step() private helper function that abstracts out the process of stripping IE7/8's implicitly-added location.href before 's .attr('href').

Thank you for this very useful (and elegantly designed) Wizard library!

mstratman commented 12 years ago

Sounds great. Thanks for the fix!