Script that will check the character count in CKEditor 4

Script that will check the character count in CKEditor 4

This following script sets an event listener on the CKEditor instance and gets triggered on every keyup event. It then retrieves the data from the editor, removes any HTML tags from it using a regular expression, and counts the remaining characters. Finally, it logs...
Allow alphabets and space only in text field

Allow alphabets and space only in text field

There is a way to use an inline script to do this: <input type=’text’ onkeypress=”return (event.charCode > 64 && event.charCode < 91) || (event.charCode > 96 && event.charCode < 123) || (event.charCode == 32)”...
DataTable with multiselect option to select multiple rows

DataTable with multiselect option to select multiple rows

DataTables is a popular JavaScript library used to create dynamic and interactive tables for web applications. One of the most commonly used features in DataTables is the ability to select and manipulate multiple rows. In this article, we will discuss the need for a multi-select option in DataTables and how it can enhance the functionality of the library.