javascript - jquery-ui datepicker with showOn: button showed even if source input is disabled -


i have input text field datepicker instance jquery-ui following parameters:

'buttonimageonly': true, 'showon': 'button', 'buttonimage': 'gfx/calendar.gif' 

it works well. when click "calendar.gif" datepicker image, calendar shown. however, when select date, input field (which disabled) changed.

is bug or doing wrong? when @ instance object in firebug, disabled parameter set true.

disabled mean can't manually write in it. still can javascript.

the textbox saves date value. if don't want show, turn hidden field or hide css (easier).

the buttonimageonly using button image type or image.

i don't see bug nor error part. :)


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -