Hello,
I’m trying to catch the value displayed on the jqxInput. To check if the code is good, i’m using alert("Server name: " + value);
.
I don’t understand why I receive 2 times the popup on function (event).
<script type="text/javascript">
$(document).ready(function ()
{
$("#inputServerName").jqxInput({placeHolder: "Enter a server name", height: 25, width: 400, minLength: 1});
$('#inputServerName').on('change', function (event)
{
var value = $('#inputServerName').val();
alert("Server name: " + value);
});
});
</script>
How can I received the value only one time?
Best regards,
Christophe Toussaint