How to disable all links using jQuery

To disable all links using jQuery you cna use the snippet below.

Samples

jQuery Sample

If you have any questions or suggestions feel free to rate this snippet, post a comment or Contact Us via Email.

Related links:

Please rate this snippet

How to reload or rerender the page using AngularJS

To reload or rerender the page using AngularJS you can use the snippet below.

Sample AngularJS

$route.reload();

Please rate this snippet

How to get the text selection in Javascript

To get the text selection in Javascript you can use the following snippet.

Sample Javascript

function GetTextSelection() {
	return (!!document.getSelection) ? document.getSelection() :
	       (!!window.getSelection)   ? window.getSelection() :
	       document.selection.createRange().text;
}

Please rate this snippet