
::rinse and repeat::
So that stupid task I was working on, or rather avoiding working on, yesterday?
So, I come in today, ready to tackle it and any other challenges.
I make good progress, then inexplicably hit a roadblock.
I am stymied.
I mean, I nominally know what I'm doing, or at least I'd like to think so.
I bang my head on the keyboard. I consult Google. I make human sacrifice.
But no answers are forthcoming.
The problem with working with ASP--well, of course, there's the inherent evil of this MS product--I'd much rather be using PHP--is the whole meta aspect of it. I'm creating code that generates an HTML page on the fly.
So I have this variable in a form that refuses to take on the proper value. I stare at my code till my eyes bleed.
Then it finally hits me: don't check the ASP, check the HTML being generated.
No, REALLY check it.
Then I see it. Instead of inserting the value into a Javacript variable, I'm inserting the variable NAME into the Javascript variable. I didn't end the string being generated before inserting the value; I rolled it into the string. When I looked at it via ASP, my logic was sound; my execution is what sucked.
ARGH! So elementary!
Shoot me!