An example button on a form with text="Dial" and fieldid=536870914 has
this markup:

<a href="javascript:" id="WIN_0_536870914" arid=536870914
artype="Control" ardbn="Dial" artcolor="null" class="btn btn3d
arfid536870914 ardbnDial" style="top:247&#59; left:115&#59;
width:46&#59; height:21&#59;z-index:1001&#59;">
<div class="btntextdiv" style="top:0&#59; left:0&#59; width:46&#59;
height:21&#59;">
<div class="f1" style="&#59;width:46">Dial</div>
</div>
</a>

I want to programatically find this button using javascript.  The
easiest way is to find by id.  My question is why is the fieldid
prepended with WIN_0_  Is this consistent?  ie could it be WIN_0_ for
one button but some different text for another?  If it is not
consistent then it will be troublesome to find.


Any feedback would be much appreciated.

Angus

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to