5 replies [Last post]
Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 4 weeks 2 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2043
Points: 2268

Well, if you validate you pull out less of your own hair. Yeah. It's true.

I had a valid page made a few changes. I figured they were such simple changes that there was no need to validate. I then added a jQuery animation and, quite frankly, it went bananas and I spent the past 4 hours fiddling with the jQuery and wondering why it didn't do what it should.

It turns out that since my IDE auto closes tags I had this: <a href="#"></a><img src="#" alt="" /></a>
I forgot to remove the added anchor closing tag before the image. jQuery was running a mouseover multiple times due to this and now my Fabio-esque golden locks are on the floor.

First step when noticing unexpected behavior: VALIDATE!!!!!!!!!!!!!!!!! (the yelling is for me, please ignore)

Laughing out loud

Tags:
Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Done it, been there, probably

Done it, been there, probably do it again.

Those auto complete whatsit thingies are a PITA, my editor allows me to create all manner of auto complete snippets which I did but didn't know there was a key combo to turn them of as typing so for a while every time went back to a UL to add a class and hit space I had a mess of nested ul li elements if I had a penny for every time I went "Doh"

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

rockersmith
rockersmith's picture
Offline
newbie
rockersmith
Last seen: 9 years 12 weeks ago
rockersmith
Timezone: GMT+5.5
Joined: 2011-03-09
Posts: 3
Points: 3

The information regarding

The information regarding benefit of validation that you have given above is very nice and also very beneficial for me as well as others who wants to know. I liked and very much impressed by this. I am very much thankful to you for giving me the exact information.

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 4 weeks 2 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2043
Points: 2268

Please, please, please let me

Please, please, please let me push the nuclear launch button.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Right we're at bloody DEFCON

Right we're at bloody DEFCON 1 now Stare

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Or is that DEFCON 5 never can

Or is that DEFCON 5 never can remember which way round it's worked, wonder if that matters?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me