473,573 Members | 2,511 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Field lose focus after adding an applet object

Dear all,

I have an asp page which upon opening a field will be set
to be in focus so that user can type in data without the
need to use the mouse to click on the field.

However, after I add an applet object, the field cannot be
in focus, even though there is statement in the asp page
explicitly setting the field to be in focus. User has to
wait for a short time (about 5 seconds). After the time,
he need to click on the field to bring it in focus. But
during the waiting time, the page does not respond to any
mouse click.

There is one interesting point that when I add an "alert"
statement at the end of the page so that a message box is
popped whenever the asp page is opened, the field is
brought into focus after user click OK the message box.

Do you have any idea ?

Thanks in advance.
W.M. Chung
Jul 19 '05 #1
2 2798
this is clientside problems, not ASP.
I'd suggest a clientside group for this posting.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Wai Man Chung" <wm*****@mtr.co m.hk> wrote in message
news:00******** *************** *****@phx.gbl.. .
Dear all,

I have an asp page which upon opening a field will be set
to be in focus so that user can type in data without the
need to use the mouse to click on the field.

However, after I add an applet object, the field cannot be
in focus, even though there is statement in the asp page
explicitly setting the field to be in focus. User has to
wait for a short time (about 5 seconds). After the time,
he need to click on the field to bring it in focus. But
during the waiting time, the page does not respond to any
mouse click.

There is one interesting point that when I add an "alert"
statement at the end of the page so that a message box is
popped whenever the asp page is opened, the field is
brought into focus after user click OK the message box.

Do you have any idea ?

Thanks in advance.
W.M. Chung

Jul 19 '05 #2
Instead of the alert, if we add some code like "txtInput.focus ", will this
ofrce the focus on the text box ?

Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
19581
by: chris | last post by:
Does anybody know how I can programmatically cause a textbox to lose focus and automatically jump to the next appropriate control. I have a custom textbox usercontrol whereby the requirement is to enable the user to jump around between controls by hitting the enter key instead of tab key or mouse. Thanks
0
1399
by: Stephen Muecke | last post by:
The startup form of my application is used to open other forms containing detail information on projects, organisations, employees etc (similar to Outlook) Each detail form has a print method (creates a PrintDocument and prints the object) The data prints as intended, however, when printing is completed, the startup form then receives focus...
16
4869
by: Mark | last post by:
Hello. I am attempting to use AppendChunk() to write binary data to a memo field in Access 2000. My initial call to AppendChunk() results in a data type conversion error. Any suggestions? Here is a VBA function which demonstrates the problem. Thanks -Mark
5
13280
by: Stuart | last post by:
Hi all, Iv'e got a page that has a mass amount of input fields, all of which require a decimal figure. To make it easier when it comes to inputting data, I'm trying to setup + and - links that will increment/decrement the form field value by 1 when clicked. I'm using the following code, however when I click on one of the links, I get the...
6
2918
by: KDCinfo | last post by:
Although I'm making an ajax call, this is really a javascript question (although it could be even more of an HTML or DOM question... not exactly sure) I'm doing an ajax call to a remote php file... it returns a value fine, and even enters a value into a text field on my form. The problem is, right after the function call to the ajax...
1
4828
by: Bracciano | last post by:
Hello, I use the following VBA code to pick up PDF's from a folder and show it in an Access form. code: -------- Option Compare Database Public strImageFile As String Private Function GetImageFolder() As String
0
7746
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8179
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7735
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5556
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3698
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2166
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1269
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
992
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.