Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3576

Re: ComboBox prevent user from typing

$
0
0

You can fetch the jQuery instance of the input control used in the ComboBox and set the attribute readonly to true.

 

oComboBox.addEventDelegate({         onAfterRendering: function() {              oComboBox.$().find("input").attr("readonly", true);         }
});

 

JS Bin - Collaborative JavaScript Debugging


Viewing all articles
Browse latest Browse all 3576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>