JS Calendar White Space Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: JS Calendar White Space Problem (/showthread.php?tid=24328) |
JS Calendar White Space Problem - El Forum - 11-06-2009 [eluser]Phil Norton[/eluser] Okay, so I've not been able to replicate this, but a client of mine keeps complaining that they're getting an error message on the date picker. Basically, I'm using the js_calendar plugin as a datepicker, tied to CI's validation methods, but it seems as though somewhere along the line, a white space is being added between the date and the time. Now, I've checked my View file, and there's no whitespace in there: Code: <input type="text" name="news_date" id="news_date" value="<?if (!set_value('news_date')) { echo date("Y-m-d H:i"); } else { echo set_value('news_date'); } ?>"><span class="dp-choose-date" title="Change Publication Date">Change Date</span> So I was wondering if there's something in the plugin itself that's causing an erroneous white space to appear? I've tried to replicate the error on a variety of platforms & browsers, and haven't been able to, so I'm not sure if this might be a problem related to a specific version of IE and setup. But if anyone has any ideas, I'd love to hear 'em! |