The indentation is crazy (subjective). Use spaces not tabs, choose 2 or 4 spaces. I prefer two, but don't really care.
there's a lot of repetition:
All of the textboxes could be initialized with a function that took key/value pairs for attributes. They are all set to float right.
don't write stuff like document.getElementById("popOver") over and over, it's ugly. Do it once and assign it to a local variable. This is for style, not efficiency.
I didn't read the getTextSelection() function thoroughly, but in my experience, stuff that looks like that never works quite right. Attacking date inputs is tough, and will probably require a separate, tested library.
"The indentation is crazy (subjective)." - I tend to like to use tabs just because it's easier on the eyes to see how code blocks differentiate and I've grown accustomed to hitting tab rather than space. Perhaps I'll try that out, though.
"there's a lot of repetition" - Right, I did that as kind of the quick and dirty way to get it up. I will most likely end up changing that as per your suggestion. Thanks.
"Attacking date inputs is tough, and will probably require a separate, tested library." - You're right, it's not very fun. Thanks for the suggestion, I think this should work a lot better for me: http://www.datejs.com/
The indentation is crazy (subjective). Use spaces not tabs, choose 2 or 4 spaces. I prefer two, but don't really care.
there's a lot of repetition: All of the textboxes could be initialized with a function that took key/value pairs for attributes. They are all set to float right.
don't write stuff like document.getElementById("popOver") over and over, it's ugly. Do it once and assign it to a local variable. This is for style, not efficiency.
I didn't read the getTextSelection() function thoroughly, but in my experience, stuff that looks like that never works quite right. Attacking date inputs is tough, and will probably require a separate, tested library.