I will test both of the above comments. Sorry it took so long for me to get back, but I didn't realize anyone had responded. Thanks for the answers.
On Wednesday, July 11, 2012 5:58:19 PM UTC-5, demetrio wrote: > > > I don't understand a lot the pourpose of this selector > > > $(document.location.hash).removeClass("hidden"); > > > > If the element has the id attr as the same hash you should use > > > $("#"+document.location.hash).removeClass("hidden"); > > Or if the hash is in the href attr you can use > > > $('[href="'+document.location.hash+'"]').removeClass("hidden"); > > In this case i don't know if you have to use the # becasue i think that it > is included in the href tag, maybe it can be > > > $('[href="#'+document.location.hash+'"]').removeClass("hidden"); > > Another thing you can do if nothing of this works is to use the command > > console.log(document.location.hash); > > To check if its really taking the hash value in IE On Wednesday, July 11, 2012 5:58:19 PM UTC-5, demetrio wrote: > > > I don't understand a lot the pourpose of this selector > > > $(document.location.hash).removeClass("hidden"); > > > > If the element has the id attr as the same hash you should use > > > $("#"+document.location.hash).removeClass("hidden"); > > Or if the hash is in the href attr you can use > > > $('[href="'+document.location.hash+'"]').removeClass("hidden"); > > In this case i don't know if you have to use the # becasue i think that it > is included in the href tag, maybe it can be > > > $('[href="#'+document.location.hash+'"]').removeClass("hidden"); > > Another thing you can do if nothing of this works is to use the command > > console.log(document.location.hash); > > To check if its really taking the hash value in IE --