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; left:115; width:46; height:21;z-index:1001;"> <div class="btntextdiv" style="top:0; left:0; width:46; height:21;"> <div class="f1" style=";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"