Here is a simple method with demo to get output free of p tags from instance of CKEditor 4 DEMO See the Pen CKEditor 4 – Strip p tags from output by Puneet Sharma (@webdevpuneet) on CodePen.
Here is a working example of adding classes to particular dates in the jQuery UI date picker plugin. You might need to change dates to get the results like image below jquery UI datepicker DEMO See the Pen Untitled by Puneet Sharma (@webdevpuneet) on CodePen....
Here is a demo with source code to create cool responsive sparkling charts for your website and web applications. DEMO See the Pen Sparkline chart by Puneet Sharma (@webdevpuneet) on CodePen. HTML <div class=”sparklineContainer”> <canvas...
Here is a demo with HTML, CSS, and jQuery script to create OTP input UI with toggle hide-show click eye. I also show a lock icon as a placeholder for an empty field. DEMO See the Pen OTP UI with hide show button by Puneet Sharma (@webdevpuneet) on CodePen. HTML...
OTP Input Complete User Interface Here is a working demo with HTML, CSS, and jQuery Script for the complete functional OTP user interface for you web pages. DEMO See the Pen OTP Input by Puneet Sharma (@webdevpuneet) on CodePen. HTML <div...
Some of the commonly used hooks in React are: useState: This hook is used to manage state in functional components. It takes an initial value as an argument and returns an array with the current state value and a function to update the state. useEffect: This hook...
To strip all HTML tags inside a string in PHP, you can use the strip_tags() function with no second argument, or an empty string as the second argument. Here’s an example: $str = “<p>This is a <b>sample</b> string with <a...