-
FEATURED COMPONENTS
First time here? Check out the FAQ!
<listbox id="list" width="100%">
</listbox>
how i to get the real width "px" the listbox in IE
<script>
function tt(tt)
{
alert(document.getElementById(tt).offsetWidth);
}
</script>
<listbox id="l1" width="100%" onCreate='Clients.evalJavaScript("tt(\""+ self.uuid+ "\")");'>
</listbox>
i get the listbox real width
how i to set the real width to listbox or i can get the width from java code
since you can access the listbox using JavaScript, you can modify the width of listbox, isn't it?
/robbie
why do you have to update the width of listbox by urself? do you have any issue running ZK application on IE?
/robbie
Asked: 2009-07-07 05:09:03 +0800
Seen: 631 times
Last updated: Jul 21 '09