Check documentation for the latest version of dhtmlxSuite confirmValue DHTMLX Docs

confirmValue

confirms the entered value

void confirmValue();

Example

<form action="cities.php" method="POST" onsubmit="confirmComboValue()">
   <div id="combo_container" style="width:200px; height:30px;"></div>
   <input type="submit" />
</form>
 
<script>
     var combo = new dhtmlXCombo("combo_container","state",200);
     combo.load("get_states.php");
 
     function confirmComboValue(){
         combo.confirmValue();
     }
</script>

Details

We recommend to call this method when submitting a form.

Back to top