In the foll. code right clicking on either 'Plz rt click on it' or 'Another rt click' opens the popup menu but once i am in the pop up menu how do i know which description element was possibly responsible for the opened up popup menu..
in fact i need to value of the description element.. how do i access it..
any ideas ?
<?xml version="1.0"?>
<?xml-stylesheet href=http://www.webdeveloper.com/forum/archive/index.php/"chrome://global/skin/" type="text/css"?>
<window id="example-window1" title="Example 2.2.1"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript" src="chrome://window/content/21oct.js"/>
<popupset>
<popup id="clipmenu">
<menuitem label="Create filter on the word" oncommand="hel();"/>
</popup>
</popupset>
<vbox id='vb' style="overflow:auto" context='clipmenu'>
<description id='d' value='http://www.webdeveloper.com/forum/archive/index.php/Plz rt click on it'/>
<description id='d2' value='http://www.webdeveloper.com/forum/archive/index.php/Another rt click'/>
</vbox>
</window>
Thanks in advance...
in fact i need to value of the description element.. how do i access it..
any ideas ?
<?xml version="1.0"?>
<?xml-stylesheet href=http://www.webdeveloper.com/forum/archive/index.php/"chrome://global/skin/" type="text/css"?>
<window id="example-window1" title="Example 2.2.1"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript" src="chrome://window/content/21oct.js"/>
<popupset>
<popup id="clipmenu">
<menuitem label="Create filter on the word" oncommand="hel();"/>
</popup>
</popupset>
<vbox id='vb' style="overflow:auto" context='clipmenu'>
<description id='d' value='http://www.webdeveloper.com/forum/archive/index.php/Plz rt click on it'/>
<description id='d2' value='http://www.webdeveloper.com/forum/archive/index.php/Another rt click'/>
</vbox>
</window>
Thanks in advance...