Textbox has "focus"

  • Thread starter Thread starter Darin
  • Start date Start date
D

Darin

I have an html page (warehouse.htm) that has 2 frames (header.aspx and
checkstock.aspx). When warehouse.htm opens, and the other 2 aspx pages
load, I want the cursor to be sitting on the first textbox (titem) in
checkstock.aspx.

How do I do that? I have tried setting the tabindex of titem to 0, but
it made no difference.

Thanks.

Darin
 
in client script, on pageload of the frameset, set window focus to
checkstock.aspx

<frameset rows="20,*" onload="window.frames[1].focus();">
<frame src="header.aspx">
<frame src="checkstock.aspx">
</frameset>
 
Back
Top