This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<form> | |
<p>Enter an email address:</p> | |
<input id='email'> | |
<button type='submit' id='validate'>Validate!</button> | |
</form> | |
<h2 id='result'></h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Where can the logging level of a robot be changed from? | |
* The robot settings, which are accessed via the UiPath Robot icon in the System tray. | |
* Orchestrator, in the Edit Robot section, the Settings tab. | |
What happens if you try to end the execution of a job by clicking the Stop/Cancel button in UiPath Orchestrator? | |
* The execution process is killed. | |
* The execution is not impacted if no Should Stop activity has been included in the workflow in Studio. | |
* The job state is changed to Canceled/Stopped, even if no Should Stop activity was used. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.security-pref-radio { | |
margin-top : 6px; | |
} | |
input[type='radio']:checked:after{ | |
width: 16px; | |
height: 16px; | |
border-radius: 14px; | |
top: -1px; | |
left: -1px; | |
position: relative; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.superAfterRender(); | |
// this is done in renderer because we don't get access to the window element in the helper js. | |
var didScroll = false; | |
window.onscroll = function() { | |
didScroll = true; | |
}; | |
window.addEventListener('scroll', function() { | |
didScroll = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button onclick='javascript: | |
if(document.getElementById("J").value=="") | |
{alert("Please enter into the left column a list of IDs on 15 chars");return; | |
} | |
var y=document.getElementById("J").value.split("\r").join("").split("\n"); | |
var z=new Array(); | |
for(var x=0;x<y.length;x++) | |
{ | |
if(y[x].length==15) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.radio-item { | |
display: inline-block; | |
position: relative; | |
padding: 0 6px; | |
margin: 10px 0 0; | |
} | |
.radio-item input[type='radio'] { | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($A.get("$Browser.formFactor") === 'PHONE') { | |
$A.createComponent( | |
"aura:html", | |
{ | |
"aura:id": "styleTag", | |
"tag": "style", | |
"body": '.overLayCustomStyles {overflow : scroll; height:' + ($(window).height() - 173) + 'px;}' | |
}, | |
function(newHtml, status, errorMessage){ | |
//Add the new button to the body array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
An utility class to parse XML and create the equivalent JSON | |
@author - unknown | |
*/ | |
public class XMLParser { | |
// To find the root element so that we can enclose it in the curly braces | |
public static String rootElementName; | |
/* Method which is parsing the XML content into JSON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let name = { | |
firstName : 'sudar', lastName : 'Test', | |
printFullName : function () { | |
console.log (`${this.firstName}-${this.lastName}`) | |
} | |
} | |
name.printFullName(); | |
//Function Borrowing | |
let name = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let nameObj = { | |
firstName : 'SK', | |
lastName : 'cool' | |
} | |
let printName = function () { | |
console.log (`${this.firstName} - ${this.lastName}`); | |
} | |
//task is to create own implementatio of bind | |
let printMyName = printName.bind (name) | |
printMyName(); |