Welcome Guest, Not a member yet? Register   Sign In
JS Calendar White Space Problem
#1

[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:
&lt;input type="text" name="news_date" id="news_date" value="&lt;?if (!set_value('news_date')) { echo date("Y-m-d H:i"); } else { echo set_value('news_date'); } ?&gt;"&gt;&lt;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!




Theme © iAndrew 2016 - Forum software by © MyBB