User-select property – prevent text selection To prevent text selection, you can add CSS: p { -webkit-user-select: none; /* Safari */ -ms-user-select: none; /* IE 10 and IE 11 */ user-select: none; /* Standard syntax */ } on specific class .prevent-select {-webkit-user-select: none; /* Safari */ -ms-user-select: none; /* IE 10 and IE 11 */ […]
Articles Tagged: Text
Get & Set
Get & Set Textbox Values: //— GET & SET TEXTBOX VALUE —// //— CAN ALSO BE USED ON ANY OTHER ELEMENT THAT HAS A VALUE PROPERTY —// // get the value of a textbox var TextboxValue = $(“#TextboxID”).val(); // set the value of a textbox $(“#TextboxID”).val(“New Textbox Value Here”); Get & Set Element’s HTML: //— […]