var Trybutton = React.createClass({
  render: function(){
    return (
        <a  className="btn btn-info pull-left"   href={this.props.tryurl}  target="_blank">TRY.</a>
    );
  }
});
var Answerbutton = React.createClass({
  render: function(){
    return (
        <a   className="btn btn-success pull-right"   href={this.props.ansurl} target="_blank">ANSWER</a>
    );
  }
});
var Rbutton =React.createClass({
  render: function(){
    return (
      <div className="text-center row">
        <Trybutton tryurl={this.props.tryurl}/>
        <Answerbutton ansurl={this.props.ansurl}/>
      </div>
    );
  }
});
function makerbutton(urls){ //http://stackoverflow.com/a/2223341
  for(var i=0; i<urls.length;i++){
    var tryurl="http://runnable.com/"+urls[i].try;
    console.log("try:"+tryurl);
    var ansurl="http://runnable.com/"+urls[i].ans;
    console.log("ans:"+ansurl);
    var mybutton=<Rbutton tryurl={tryurl} ansurl={ansurl} />;
    React.render(mybutton,document.getElementById(urls[i].id));
  }
}


@@ -680,41 +680,544 @@
 1%0A  
-for(var i=0; i%3Curls.length;i++)%7B%0A
+//rbutton-1-3-1%0A  //http://stackoverflow.com/a/5616842%0A  //http://stackoverflow.com/a/3239600%0A  //http://stackoverflow.com/a/5181740%0A  //http://www.sitepoint.com/jquery-each-examples/%0A  //http://stackoverflow.com/a/7364307%0A  $('#my-pagination-content %5Bid%5E=%22rbutton-%22%5D').each(%0A    function(index1, value1) %7B%0A      myid = $(this).attr(%22id%22);%0A      result = $.grep(lecbuttons, function(e) %7B%0A        return e.id === myid;%0A      %7D);%0A      if (result.length == 0) %7B%0A        console.log(%22No match%22);%0A      %7D else if (result.length == 1) %7B%0A    
     
@@ -1226,17 +1226,19 @@
 r tryurl
-=
+ = 
 %22http://
@@ -1255,22 +1255,27 @@
 om/%22
-+urls%5Bi%5D
+ + result
 .try;%0A
+    
     
@@ -1292,17 +1292,19 @@
 g(%22try:%22
-+
+ + 
 tryurl);
@@ -1300,24 +1300,28 @@
  + tryurl);%0A
+    
     var ansu
@@ -1322,17 +1322,19 @@
 r ansurl
-=
+ = 
 %22http://
@@ -1351,22 +1351,27 @@
 om/%22
-+urls%5Bi%5D
+ + result
 .ans;%0A
+    
     
@@ -1388,17 +1388,19 @@
 g(%22ans:%22
-+
+ + 
 ansurl);
@@ -1396,24 +1396,28 @@
  + ansurl);%0A
+    
     var mybu
@@ -1424,10 +1424,13 @@
 tton
-=%3C
+ = %3C 
 Rbut
@@ -1443,33 +1443,93 @@
 yurl
-=%7Btryurl%7D ansurl=%7Bansurl%7D
+ = %7B%0A          tryurl%0A        %7D%0A        ansurl = %7B%0A          ansurl%0A        %7D%0A       
  /%3E;
@@ -1533,16 +1533,20 @@
 /%3E;%0A    
+   
+ 
 React.re
@@ -1559,16 +1559,17 @@
 ybutton,
+ 
 document
@@ -1588,15 +1588,14 @@
 yId(
-urls%5Bi%5D
+result
 .id)
@@ -1599,13 +1599,84 @@
 id));%0A  
-%7D
+    %7D else %7B%0A        console.log(%22Mutiple matches.%22);%0A      %7D%0A    %7D%0A  );
 %0A%7D%0A%0A

Update rbutton-JSX.js