Click here to Skip to main content
15,888,979 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am trying to write a page with 2 calendars and I get a strange artifact.
XML
Dates <input id="dates" type="textbox" />
From: <div id="dtFrom" class="datepicker"></div>
To: <div id="dtTo" class="datepicker"></div>
Some more text

Here is the javascript
$("#dtFrom").datepicker();
$("#dtTo").datepicker();​

But when I render it I get an extra thin box at the bottom after 'some more text'.
Is it not the right way to use the calendar?

http://jsfiddle.net/hsLqv/1/[^]
Posted
Comments
Sandeep Mewara 4-May-12 9:08am    
I doubt this behavior. Looks like it's the way you are rendering it or creating HTML for your input. You tried this is sample app?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900