简体   繁体   中英

Struts Option tooltip not working

I wanted tooltip on Html:options element, when mouseover to each, displays opition name of that property.

 <logic:present name = "xxx"> 
        <td id = "" align="" width="" rowspan = "">
        <html:select multiple="" size="" property=""  styleId="" style="" onmouseover="showToolTips()">
        <html:options collection="" name="" property="" labelProperty=""/>
        </html:select>    
        </td>
    </logic:present>

tried with JScript, showToolTips(), also dint work is there anyway around tooltip inside html:options tag or html:select tag thanks for any help,

尝试

<html:options collection="" name="" property="" labelProperty=""  title="Tooltip"/> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM