diff --git a/README.md b/README.md index 9733ff85f..ba68643cc 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ These are the specific versions bootstrap-datpicker is tested against (`js` file Attached to a field with the format specified via options: ```html - + ``` ```javascript -$('#datepicker').datepicker({ +$('.datepicker').datepicker({ format: 'mm-dd-yyyy' }); ``` @@ -31,22 +31,22 @@ $('#datepicker').datepicker({ Attached to a field with the format specified via data tag: ```html - + ``` ```javascript -$('#datepicker').datepicker(); +$('.datepicker').datepicker(); ``` As component: ```html -