我使用jquery autosuggest来填充文本框中的数据。当我尝试在ie8中使用该功能时,我收到错误: console not define
显示错误的jquery代码如下:
function lookup(inputString) {
if(inputString.length == 0) {
// Hide the suggestion box.
$('#suggestions').hide();
} else {
// post data to our php p
我想使用jQuery用选定的DropDownList (选择列表)的值填充多个文本框。下面是我拥有的代码
The jQuery Script
<script type="text/javascript">
$("#item").change(function () {
$("#txtbox").val($(this).val());
});
</script>
The drop down