Dear Sir,<BR> I created a FORM with a list box(with the help of &#060;SELECT> and &#060;OPTION> tags and I selected one item from the list box and then submitted the form and now I want to set the focus of the list box to the previously selected item.<BR><BR>I tried it with this code but it is generating an error that "Object does not support this property or method frmtest.lstbox"<BR><BR>Sir I am giving you the necessary parts of the ASP code only.<BR><BR>&#060;HTML><BR>&#060;%if request.form&#060;>"" then <BR>sub test(tmonth)<BR> response.write "&#060;SCRIPT LANGUAGE=""VBSCRIPT"">frmdaily.lstmonth(tmonth).se lected=true&#060;/SCRIPT>"<BR>end sub<BR> monthdata=request.form("lstbox")<BR> call test(monthdata)<BR> end if<BR>else&#037;&#062;<BR> &#060;FORM name=frmtest method=post><BR> &#060;SELECT name=lstbox><BR> &#060;OPTION SELECTED>JAN<BR> &#060;OPTION>FEB<BR> &#060;OPTION>MAR<BR> &#060;OPTION>APR<BR> &#060;OPTION>MAY<BR> &#060;OPTION>JUN<BR> &#060;OPTION>JUL<BR> &#060;OPTION>AUG<BR> &#060;OPTION>SEP<BR> &#060;OPTION>OCT<BR> &#060;OPTION>NOV<BR> &#060;OPTION>DEC <BR> &#060;/SELECT><BR> &#060;/FORM><BR>&#060;%end if&#037;&#062;<BR>&#060;/HTML><BR>