![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
This Month -
Recent Posts -
Archives -
2009 -
2008 -
2007 -
2006 -
2005 -
2003 -
2002 -
2001 -
Find -
Blog Archives - June 2006
Thursday, June 29, 2006
- JavaScript parseInt() Bug
While working on a site yesterday we came across an interesting bug in JavaScript that I thought it would be good to share. <select name="selMonth0"> <option value="">Month</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> If August or September were selected we got an error saying the expiration date had to be in the future, because the month was being calculated as 0 instead of 8. One fix is to remove the leading zeros from the option values, but we did find another fix that is probably a better solution: parseInt(parseFloat(string)) parseFloat("08") converts the 08 to a floating number correctly. Then parseInt converts it to an integer correctly. Here is a link with more information on the problem and solution: parseInt() Bug 0 Comments
Post Comment:
Tuesday, June 27, 2006
- 26 Week Ultrasound
We had yet another ultrasound today. The baby is doing great! We got some pretty clear pictures of the baby's face and got to see it kicking, stretching, and turning around. We even got to see it practicing suckling!
Post Comment:
Sunday, June 25, 2006
- Updated Development Section
I just wanted to post that I've updated the Development section of my web site. I've split up the pages for ColdFusion, JavaScript, and Web Tips into three separate pages. I've also added two pages for Flash animations/programs that I've written and Other Apps that I've written. Enjoy! 0 Comments
Post Comment:
Wednesday, June 21, 2006
- Still kickin'
I know, I know. I said I'd do my best to keep my posts up to date and now I've skipped nearly a month. Sorry... I've been pretty busy the last few weeks. I've been spending a lot of time working with the neighborhood on the issue with the Townhouses and then last weekend Julie and I went on a short vacation.
Post Comment:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
download aim  |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Browser: CCBot/1.0 (+http://www.commoncrawl.org/bot.html) | IP: 38.107.191.111 | All Agents | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DeKalb, IL | ||||||||||||
|
||||||||||||
|
||||||||||||
|
As reported at De Kalb, IL, on Tuesday, September 7, 2010, at 12:25 AM local time
View the 5 Day Forecast |