Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
</body>
</html>
 
var xml = '<decisionPoint fileName="5">\
<choice label="ARIN, RIPE, APNIC" goTo="5aa"/>\
<choice label="Whois.org, Network Solutions" goTo="5aa"/>\
<choice label="Google, Bing, Yahoo" goTo="5c"/>\
</decisionPoint>';
var $xml = $(xml);
var gt = $xml.find('choice[label^="Whois.org"]').attr('goTo');
console.log(gt);
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers