Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1175
[BUG] igNumericEditor doesn't honor set value by jQuery
posted

v17.2 but I tried it on the latest and I get the same issue.

I set the value of a text input via jQuery.  Then I declare the input as an igNumericEditor.  The value set doesn't carry over so when my form is posted it doesn't contain the value.  It comes over as blank.

<input type="text" id="field" name="field" />
<button onclick="javascript:showValue();">Show Value</button>


<script type="text/javascript">
$(function () {
    $("#field").val(10);

    //$("#field").igNumericEditor();
});

function showValue() {
    alert($("#field").val());
}
</script>

The value should be carried over when initializing a control but it does not.

Parents Reply Children
No Data