[Project_owners] Have some problem with changing listbox label.

joe ertaba belaviyo at gmail.com
Thu Jul 5 01:19:11 PDT 2007


Hi

any body can help me to change text of first line in below list "Not Set" to
"something" when user click on label with id="MyId"

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="yourwindow" xmlns="
http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript">
<![CDATA[
// put some js code here
]]>
</script>
<label id="MyId" value="Click Here to Edit font"/>


                <listbox>
                        <listhead >
                            <listheader label="URL"/>
                            <listheader label="Font Size"/>
                        </listhead>

                        <listcols>
                                <listcol/>
                            <listcol flex="1"/>
                        </listcols>
                        <listitem >
                            <listcell label=" http://......1"/>
                            <listcell  label="Not Set"/>
                        </listitem>
                        <listitem >
                            <listcell label="http://......2"/>
                            <listcell label="Not Set"/>
                        </listitem>

                </listbox>
</window>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070705/96791fdd/attachment.html 


More information about the Project_owners mailing list