<select name="channelCode" id="channelCode" class="all_input" style="width:165px;margin-left:8px" >
<option value=""> All </option>
<c:forEach var="list" items="${channelList}">
<option value="${list.channelCode}">${list.channelName}</option>
</c:forEach>
</select>

{label: ' Bank channel name ', name:'channelCode', index:'channelCode', width:120,
formatter:function(cellvalue, options, rowObject) {
return getSelectText('#channelCode', cellvalue);
}
},

function getSelectText(selectObj, value) {
var obj = $(selectObj).find("option[value='" + value + "']");
return obj.text();
}

html slelect More about tag defaults

  1. htmlcss note -- Label default style reset css reset

    1.<a> label There are default text modifiers : Underline , Remove :text-decoration:none; text-decoration Property value : none Default . Define the standard text . underline set ...

  2. htmlcss note -- Label default style reset css reset(2)

    1. inline , Embedded , Inline elements : By default, it can continue to be displayed with the same type of label : The width is spread by the content , How wide the content is , How wide will it be : span, The embedded label part supports width and height , Even if the width is increased, it does not support , It doesn't support up and down, inside and outside margins , But it supports left and right inner and outer margins : Neishang ...

  3. &lt;select&gt; Label default settings

    <td> <label> Operation type :</label> <select id="operation_type" class="com ...

  4. placeholder Attribute implementation text The default value of the tag prompts the user

    <input type="text" class="searchTxt" id=this.id+"-searchTxt" placeh ...

  5. HTML label CSS Default study

    Recently written css When , Found in div Add... To the element ul And then we found that ,ul List in div There is always a blank line from the top , It was strange , Who do you think it is css Something went wrong. , Just put css Removed , I found that the problem is still , Then I checked and found that htm ...

  6. HTML label CSS Property default value summary

    HTML label CSS Property defaults , Useful when you need to restore the default values . I've been looking for this document before , I happened to see it on the Internet today . except inline and block The definition of , The main thing is to pay attention body|h1~h6|blockquote ...

  7. Set up Input label Date The default is the current time

    demand : Want to set Imput label Date The default is the current time , adopt JavaScript Realization . <html> ...... <body> <input type="date ...

  8. Entity Framework 6 Recipes 2nd Edition(12-7) translate -&gt; Set the default value

    12-7. Set the default value problem Before saving an entity to a database , Set the default value of the entity property Solution Suppose you have one such as Figure 12-9 The table shown , It holds purchase orders (purchase order). Primary key Pu ...

  9. ng-option Command usage records , You need to pay attention to setting the default values

    ng-options It is generally used as follows : Array as data source : label for value in array select as label for value in array label group ...

Random recommendation

  1. PHP Advanced programming (1/5) - Coding specification and documentation

    PHP Advanced programming learning notes 20140612 An important part of software development is documentation . It can help future program maintainers and users understand your thinking in development . It's also convenient to check the code again in the future . There's another important aspect of documentation ...

  2. [Effective JavaScript note ] The first 55 strip : The option object that receives the keyword parameter

    53 Section suggests that keeping the order of parameters consistent is important to help programmers remember the meaning of each parameter in a function call . Less parameters is a good idea , But if there are too many parameters , There's trouble , It's not easy to remember and understand . Parameter spread Such as the following code : var ...

  3. magical Noip Give the mock test a try 2 line up

    2 line up (lineup.pas/.c/.cpp) [ Problem description ] Small sin My class has n Famous students , Preparing to line up in a column , But they don't want to go from short to tall , That's too monotonous , Too impersonal . They want to happen to have k The students are high in the front , Short ...

  4. IOS webView snapshot

    This function is the storage of web pages , Store as png Format picture Without distortion A great little way . The specific implementation is as follows : - (void)webViewDidFinishLoad:(UIWebView *)webView1 { ...

  5. MongoDB Database document operation

    In front of the word This article will introduce in detail MongoDB Database on the addition, deletion and modification of documents data type Before introducing document manipulation , First of all, understand MongoDB Data type of MongoDB Many data types are supported , Include 1. character string - This is for storing data ...

  6. Powerful core function matrix , Tencent cloud load balancing CLB The architecture behind high reliability and high performance

    1 Preface Tencent cloud load balancing (Cloud LoadBalancer), abbreviation CLB, Load balancing by setting the virtual service address (VIP) Distribute requests from clients to their associated back-end cloud servers in a specified way , The server returns the response to the request ...

  7. One of the properties and methods of a function call、apply And bind

    One . Preface ECMAScript The function in is an object , So functions also have properties and methods . Each function contains two properties :length and prototype. Each function also contains two non inherited methods :apply() and call(), Some more ...

  8. sql server Use sql Sentence upload Excel To the database

    USE pro GO SELECT  * INTO   temp_budget_price@201704170950 FROM    OPENDATASOURCE('Microsoft.Jet.OLE ...

  9. PHP Get week , Month list

    PHP Of date Function and strtotime Functions are powerful . Basically around this 2 A function can handle most of the date processing in daily development . Let's say there's a demand on a weekly basis , Get the latest 7 Zhou and recently 7 Monthly query . Then we must divide the time interval ...

  10. [svc]find+xargs/exec Rename the file suffix &amp; Summary of file operation tools

    30 Days of file packaging find ./test_log -type f -mtime -30|xargs tar -cvf test_log.tar.gz awk operation - Solve the problem of enterprise statistics pv/ip problem find ...