Categories
Jquery

Javascript function to truncate string

JavaScript function to truncate string. This function is safe and ready to use.

Categories
Jquery

JavaScript Trim function with defined characters

Method to trim string with specified charactars. Find complete example.

Categories
Jquery

Javascript escaping characters for regular expression use

See how you can escape characters for regular expression. A complete working example.

Categories
Jquery

Unescape HTML using JavaScript

JavaScript function to escape html string. Fully working example of escaping html text.

Categories
Jquery

Function to unquote string using JavaScript

Best way to unquote string in JavaScript. Utility example of method to unquote string using JavaScript.

Categories
Jquery

Best way to safely check empty string in Javascript

Best way to check empty string in JavaScript. Utility method to check empty string in JavaScript.

Categories
Jquery

Best way to safely convert object to string in Javascript

Know the ways to converst javascipt objects to string. Object to string conversion method example.

Categories
Jquery

Jquery script to append url into copied text on clipboard

Jquery script to append page URL into copied clip board text.

Categories
Jquery

Example of jquery and JavaScript to disable context menu

Example of javascript and jquery to disable context menu on html page and html elements.