+ -
当前位置:首页 → 问答吧 → flexbox中的input 宽度和高度如何来设置

flexbox中的input 宽度和高度如何来设置

时间:2011-06-21

来源:互联网

flexbox中的input 宽度和高度如何来设置

作者: xwt799023   发布时间: 2011-06-21

JScript code

 <script>
var countries = {};
countries.results = [{id:'AF',name:'Afghanistan'}];
countries.total = countries.results.length;

$(function() {
   $.post("${portal}/school/schoolAction_FlexBoxSchoolList.action",                      
   function(tag){    
        countries.results =eval("(" + tag + ")");
    countries.total = countries.results.length;
    $('#ffb8').flexbox(countries, {
        autoCompleteFirstMatch: false,
        noResultsText: '',
        onSelect: function() {
            $("#aSubjectForm").find("#student_schoolname").val($('input[name=ffb8]').val());
            //$('#ffb8-result').html('You selected "' + this.value + '", ' +
            // 'which has a hidden value of ' + $('input[name=ffb8]').val());
        }
    });
    $('#ffb8_input').blur(function() {
            $("#aSubjectForm").find("#student_schoolname").val($('input[name=ffb8]').val());
        //$('#ffb8-result')
        //.html('The value passed when the form is ' +
        // 'submitted is "' + $('input[name=ffb8]').val() + '"');
    });    
                
                
                
                
    });                
});                
</script>
这里有办法设置吗





作者: xwt799023   发布时间: 2011-06-21