Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 9th, 2004, 12:30 AM
maz maz is offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Text box and cursor in it (netscape)

I want my text box to be active, with the cursor in it, right after page loads up. I am using:
...
<body ..blah blah.. onLoad="focus();convert.number.focus()">
...
<form method="post" action="index.php" name="convert">
         <p>Enter your number: <input type="text" name="number">
...

It works just fine with IE BUT it does not work with Netscape for some reason. You can check it out here http://www.converter.staronki.com/ Any thoughts?
Thanks much.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Put cursor at the end of input text peace2007 Javascript 1 October 11th, 2007 04:49 AM
Set cursor at specific location in text box pritz VB How-To 3 August 29th, 2005 10:27 AM
Set cursor at specific location in text box pritz Beginning VB 6 1 August 15th, 2005 12:22 PM
moving text in Netscape isheikh Javascript 2 May 5th, 2004 07:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.