Skip to main content

Search and Top Navigation

#6793 closed bug (worksforme)

Opened December 30, 2010 05:46PM UTC

Closed December 31, 2010 01:23AM UTC

Last modified December 31, 2010 03:15AM UTC

On Init() HTML Container is display: block

Reported by: samishii23 Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:
Description

When I call .datepicker() a box outline with no content appears at the bottom screen.

Setup: Make a button, and text box, have button called .datepicker() (no options for me). Click button, and the above mentioned box appears.

When you click on the textbox, the box disappears and stays gone.

Attachments (0)
Change History (8)

Changed December 30, 2010 06:30PM UTC by scottgonzalez comment:1

This sounds like you're using an old version of datepicker. Please ensure you're using jQuery UI 1.8.7.

Changed December 30, 2010 07:28PM UTC by samishii23 comment:2

I had just re-downloaded all of jQuery-UI a couple days ago because I was having a script error with the draggable feature, and I was about to report it when I noticed it had been updated.

Changed December 30, 2010 07:31PM UTC by scottgonzalez comment:3

I'm confused. Are you still seeing the problem?

Changed December 30, 2010 07:56PM UTC by samishii23 comment:4

Yep. It only happens on the initial initialization. After you click on the textbox and the datepicker opens, it disapears. Tried in Chrome, FF 3/4, and IE doesn't like my personal code... Ugh

Changed December 30, 2010 09:10PM UTC by scottgonzalez comment:5

Please provide a reduced test case. Your original description doesn't make sense since you can't call .datepicker() on a button element.

Changed December 31, 2010 01:10AM UTC by ilok comment:6

This is because the new widgetnow depends on this new css attribute. Not a bug, but it's suprising having to update the css in addition to the js file.

.ui-datepicker { display: none

Changed December 31, 2010 01:23AM UTC by scottgonzalez comment:7

resolution: → worksforme
status: newclosed

The themes are part of the code. We don't support using the .js files without the .css files.

Changed December 31, 2010 03:15AM UTC by samishii23 comment:8

Assuming both jQuery and jQueryUI scripts are called here...

<script>
function doTest() {
$("#inText").datepicker();
}
</script>

<button onClick="doTest()">Click Me!!!</button>
<input type="text" id="inText">

This is exactly what I used outside of my program to see if there was anything else that may have been interfering with the datapicker() function.