× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: %20 and %40 on user name passing in cgi for names with a space - why or what am I doing wrong
  • From: "Sean Porterfield" <sporter@xxxxxxxxxxxx>
  • Date: Tue, 29 May 2001 09:32:13 -0400
  • Importance: Normal

To position the cursor, you need to use JavaScript.  Generally it's added to
the BODY tag with an OnLoad event, but if your page is slow to load, you'll
want to put it elsewhere.

For an OnLoad example, view source on http://lifetrek.net/ or for the other,
view source on http://porterfield.net/search/

document.forms[0].keyword.focus(); // document and forms are reserved words,
forms is an array that can be referenced by number or name if you named your
form.  "keyword" is the name of my field, focus() is what puts the cursor in
the field.

> -----Original Message-----
> From: Behalf Of Mark A. Manske

> I was also wondering on the first "page", the only true html page(non-cgi
> generating page) how do I "position the cursor" on the first input field,
> most web sites I have visited do not, but the few I have run across, I do
> not "see" anything obvious as to how they did it - has been interesting
> being a old rpger doing html code....

+---
| This is the WEB400 Mailing List!
| To submit a new message, send your mail to WEB400@midrange.com.
| To subscribe to this list send email to WEB400-SUB@midrange.com.
| To unsubscribe from this list send email to WEB400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.