jquery - Problem with the datepicker format -


i have $("#xt1").datepicker({ dateformat: 'dd-m-yy' }); statement datepicker in jquery statement user can enter value date in text field statement $("#xt1").datepicker(); user cannot enter value in text field . how can format date , not allow user enter date

@derby: add readonly="readonly" attribute #xt1 input, e.g.:

<input type="text" name="xt1" id="xt1" readonly="readonly" /> 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -