Blinksale: Easy, painless, online invoicing for small businesses

[Fixed] I Need Javascript Help

Okay, I've been having a long-standing issue with a popup calendar inside the IB Dashboard. Some of you may have already seen the popup calendar inside some of the forms for entering dates... at least those of you that have browsers that act like Firefox. (I can't confirm if the calendar pops up for other browsers since I only have Firefox & IE6/7 to verify functionality.)

Basically, my dilemma comes into play with IE6/7. I already know that it doesn't play well, but I can't seem to figure out why the Dynarch Calendar isn't working inside IE when their demo (top 2 date fields) works perfectly.

As usual, I'm hoping that another few pairs of eyes might help me find the issue in my coding. The best page to confirm this against will be the Delivery Edit page since I've made a few mods between the ID & Name values of the controls.

I appreciate all of your valued help, and with luck, it'll add a bit more functionality to the IE folks that don't have a choice. Thank you!

Posted by bjendrick on May 27, 2008 in Blab | 9 comments

nickpixel Vip-micro on May 27, 2008

Get rid of the final comma in your call to Calendar.setup. Since you have ifFormat commented, delete the comma after the inputField value. Otherwise, get rid of the comment on the ifFormat line and delete the comma that appears after the ifFormat value. That should work.

bjendrick on May 27, 2008

@nickpixel: That. WAS. PERFECT!!! You're a ROCKSTAR! I'm also glad that it was such a simple fix. Now I just need to update the calendar.setup calls in all the pages. Seriously, you've saved me a headache. I appreciate it, more than you know.

louiemctool on May 27, 2008

um, just be aware that Safari has it's own js quirks, so...

um, let me test that, if you haven't done so. will let you know what i see...

:)

louiemctool on May 27, 2008

k, does have some odd behavior, but it works, so good 'nuff, says i...

:)

bjendrick on May 28, 2008

Cool... thank you for checking in Safari, louie!

louiemctool on May 28, 2008

yar. not a problem. i maintain a modest fleet of browsers for testing me sites: Opera, Firefox, Safari (for Windows), and IE (currently IE8 Beta, which actually be close to W3C standards. w00t!).

word of advice: don't ye even bother trying to perform an xml.Load() in Safari. it won't know what the hell ye be talkin' about...

:P

nickpixel Vip-micro on May 28, 2008

bjendrick, No problem. I'm glad that fixed the issue. But, if I'm a rockstar, where are my groupies?!?! ;)

iamback on May 28, 2008

I don't know if it's anything to do with this, but currently the "Sent date" in deliveries doesn't "hold": it gets filled in by the calendar, it seems, but not saved.

bjendrick on May 29, 2008

Ooops. Yes, I had made a page modification that affected both date fields. Sorry, but it's now fixed.