JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//code.jquery.com/jquery-1.5.2.js"></script>
<body>
 <input id="url" type="text" />
 <input type="button" value="Get" onclick="getFlv();" />
</body>

JavaScript

function getFlv()
{
    alert("11111");
<!--     var url=$('#url').get(0).value;
    $.post("getYouyube.php",{'url':url},function(data){
         location.href='http://www.youtube.com/get_video?'+data
    }); -->
}