Posts

Showing posts from May, 2024

Input type date default placehoder change

<input id="my_date"  name="my_date"  class="form-control"  placeholder="My Date"  type="text"  onfocus="(this.type='date')"  onblur="(this.type='text')">

CK Editor

< script src ="https://cdn.ckeditor.com/4.5.7/standard/ckeditor.js" ></ script > < script type ="text/javascript" > $ ( function () { // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR. replace ( 'description' , { // toolbar: [ // { name: 'document', items: ['Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups. // [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo', 'Undo', 'Redo' , 'Undo', 'Redo', 'Undo', 'Redo', 'Undo'], // Defines toolbar group without name. // '/',