My livesearch script is working well, but there seems to be a displacement issue with the searchclear button in the image below. I have two JavaScript scripts on my page and I loaded two CDNs, which I believe is causing this displacement. Can someone please help me identify what's wrong with my code?
Here is my entire code: https://jsfiddle.net/blueink/hq86Lxs2/3/
This is my livesearch section:
<div class="btn-group">
<input type="text" name="search" placeholder="input 1" class="search form-control" size="3000"
onkeypress="return event.keyCode!=13"/>
<span class="searchclear glyphicon glyphicon-remove-circle"></span>
</div>
<ul class="list-group result"></ul>
</div>