This file contains 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
public class AuthCallout { | |
public void basicAuthCallout(){ | |
HttpRequest req = new HttpRequest(); | |
req.setEndpoint('http://www.yahoo.com'); | |
req.setMethod('GET'); | |
// Specify the required user name and password to access the endpoint | |
// As well as the header and header information | |
This file contains 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
var ts = ts || {}; | |
var sortStatus = {}; | |
ts.getValue = function(tdElem){ | |
var inputElemLst = $(tdElem).find("input:not([type='hidden']):first"); | |
return inputElemLst.length ? inputElemLst.val() : $(tdElem).text(); | |
}; | |
ts.handleSortClick = function(event){ |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script> | |
<script src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script> | |
</head> | |
<body> | |
<style> | |
td { |