Init Repo
This commit is contained in:
15
public_html/js/settings.troubleshooting.cron_selection.js
Normal file
15
public_html/js/settings.troubleshooting.cron_selection.js
Normal file
@@ -0,0 +1,15 @@
|
||||
function selecttxt(objId)
|
||||
{
|
||||
if (document.selection)
|
||||
{
|
||||
var range = document.body.createTextRange();
|
||||
range.moveToElementText(document.getElementById(objId));
|
||||
range.select();
|
||||
}
|
||||
else if (window.getSelection)
|
||||
{
|
||||
var range = document.createRange();
|
||||
range.selectNode(document.getElementById(objId));
|
||||
window.getSelection().addRange(range);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user