<div class="input-group">
<input type="text" class="input-group__field" id="YQNum" maxlength="50"/>
<span class="input-group__btn">
<button class="btn" type="button" onclick="doTrack()" style="color: #fff;background-color: #ff8c00;border-color: #ff8c00;">TRACK</button>
</span>
</div>
<div id="YQContainer"></div>

<script type="text/javascript" src="//www.17track.net/externalcall.js"></script>
<script type="text/javascript">
function doTrack() {
var num = document.getElementById("YQNum").value;
if(num===""){
alert("Enter your number.");
return;
}
YQV5.trackSingle({
YQ_ContainerId:"YQContainer",
YQ_Height:560,
YQ_Fc:"0",
YQ_Lang:"en",
YQ_RmAD: true,
YQ_Num:num
});
}
</script>