sarita wrote: > <TABLE cellSpacing=0 cellPadding=0 width="71%" border=0> > <TBODY> > <TR> > <TD width="38%" style="height: 24px"><input > name="ctl00$ContentPlaceHolder1$txtCreateDate" type="text" > id="ctl00_ContentPlaceHolder1_txtCreateDate" class="Input" style="WIDTH: > 84px" size="8" readonly="readOnly" value="1/24/2007" /> > > </TD> > <TD width="62%" style="height: 24px"> > <img id="ctl00_ContentPlaceHolder1_imgCalCrDate" > onclick="javascript:return > popUpCalendar(this,ctl00_ContentPlaceHolder1_txtCreateDate, 'mm/dd/yyyy', > '__doPostBack(\'ctl00_ContentPlaceHolder1_txtCreateDate\')')" > src="../../../Javascript/cal/show_calendar.gif" align="absmiddle" > style="color:IndianRed;height:21px;width:29px;border-width:0px;" /> > </TD> > </TR> > </TBODY> > </TABLE> you can caluse the calendar control to appear with
ie.image(:id, 'ctl00_ContentPlaceHolder1_imgCalCrDate').click You'll need to show the html for the calendar itself if you need help with that. It might be easier, however, to just use ie.text_field(:id, 'ctl00_ContentPlaceHolder1_txtCreateDate').value = "1/1/2007" Bret _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
