My idea is when button1 is clicked to get input in textare and make search in Datatables.
I need help, hope for understanding.
my code is this, but I dont get result. I got other ways but i dont want to refresh page:
<script src="js/ie/jquery.placeholder.js"></script>
<script>
$(function() {
$('input, textarea').placeholder();
});
</script>
and to call it like this:
<p class="btn btn-primary" id="myInput" onclick="updateInput('button1')">button1</p>