473,811 Members | 2,859 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with form buttons

Hi,
Not sure if I am posting to the proper group. I have some buttons on an
HTML form. When I click a button, it just gives the button focus. Then I
need to click again for the onClick actions to take place. How do I get
the buttons to work on the fist clck, rather two clicks or a double click.
I have set tab order and have used xxx.focus() to give the first field on
the form fucus after the form loads. Can this be screwing the buttons up.
Any help would be appreciated.

Thanks
Mike
Jul 20 '05 #1
6 2012
mc********@yaho o.com (Michael Chernecki) wrote:
Not sure if I am posting to the proper group.
You probably aren't, if you are not sure. It would be more useful to
spend some time in finding the right group, while trying to analyze what
your problem really is.
I have some buttons on
an HTML form. When I click a button, it just gives the button focus.
You didn't specify a URL, or the browser(s) tested.
I have set tab order and have used xxx.focus() to give
the first field on the form fucus after the form loads.


If you need to set tab order, the page structure is probably wrongly
designed.

Setting focus in JavaScript is known to cause various problems. The
details depend on _how_ you do that.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
Did you put in an action page for the form? Display the code for the submit button.

Later,
J.Clancey
Jul 20 '05 #3
If you are using a Microsoft debugger and IE, go (in IE) to view,
script
debugger, break at next statement. Then click your button. It will
fire some event that will be caught in the debugger. If you don't see
'script debugger' under the IE view menu, go to tools, internet
options, advanced, and then de-select the 'disable script debugging'
option if it is checked. You'll have to close all your browsers for
this to take effect.

Don Krapohl
http://www.tranquillitas.com
Website quality assurance testing
jo**********@tj x.com (J. Clancey) wrote in message news:<bc******* *************** ****@posting.go ogle.com>...
Did you put in an action page for the form? Display the code for the submit button.

Later,
J.Clancey

Jul 20 '05 #4
In article <74************ **************@ posting.google. com>,
dk******@tranqu illitas.com (DKrapohl) wrote:
If you are using a Microsoft debugger and IE, go (in IE) to view,
script
debugger, break at next statement. Then click your button. It will
fire some event that will be caught in the debugger. If you don't see
'script debugger' under the IE view menu, go to tools, internet
options, advanced, and then de-select the 'disable script debugging'
option if it is checked. You'll have to close all your browsers for
this to take effect.

Don Krapohl
http://www.tranquillitas.com
Website quality assurance testing
jo**********@tj x.com (J. Clancey) wrote in message

news:<bc******* *************** ****@posting.go ogle.com>...
Did you put in an action page for the form? Display the code for the submit button.
Later,
J.Clancey


Don, Thnaks for the information. I have tried to get the debugger working
on my computer, but still no luck. I did get it working on another
computer and narrowed the problem down to a statement using .focus(), it
works ok now.

Thanks
Mike
Jul 20 '05 #5
On Thu, 28 Aug 2003 10:32:15 -0400, DKrapohl wrote
(in message <74************ **************@ posting.google. com>):
The site has been tested with numerous tools and we are aware that
there are a few issues, some inherent to our choice of technology.
This does not detract from our mission. Our focus is to note issues
with a website and hand the report to developers to repair.

Any suggestions on/for the site?


Yeah.

- Make sure that your site at least has valid markup.
- Random contents are a bad idea.
- useless content is a bad idea. I tried to get to the 'browser test'
thingy and had to reload the page six time to get to one with a
functioning link, I got it three times with no link, just the words
'Browser Test'.
- static content size that is larger than smaller windows is a bad idea.
- heavy use of javascript is a bad idea.
- Some of your contents are old and outdated.
- It's a bad sign when one accesses a report on broken links on your
site and the report contains broken links.
Check this page on your site:
http://www.tranquillitas.com/resources/qtart.htm
and check the link at the bottom of the page.

Your website is sooo 1998.

I do the quality assurance of my own sites, but let's say somebody ever
asks me about a service like yours, I would definitely not point them
your way, based on what I saw on your site. For the services that you're
offering, your website is your resume. If you were offering services
that had nothing to do with web design or site maintenance then I
wouldn't have commented, but you do...

Jul 20 '05 #6
On 28 Aug 2003 07:32:15 -0700, dk******@tranqu illitas.com (DKrapohl)
wrote:
The site has been tested with numerous tools and we are aware that
there are a few issues, some inherent to our choice of technology.
This does not detract from our mission. Our focus is to note issues
with a website and hand the report to developers to repair.

Any suggestions on/for the site?
The most obvious one is to use the reader's font size for the main text
on each page, in order to ensure that the page is legible. See
http://www.xs4all.nl/~sbpoley/webmatters/fontsize.html

Thank you for your question.
Don Krapohl
http://www.tranquillitas.com
Website quality assurance testing


--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #7

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

Similar topics

1
8191
by: KS | last post by:
I write my html pages as .jsp files (java server pages). The final result when the page is rendered in the browser, and I do a view source, is nothing less the normal HTML codes. The problem is I have a .jsp file A called main.jsp which contains one form an serveral buttons. Main.jsp include a another .jsp file B called Internal.jsp which has its own form and several buttons. I have made a javascript that disables all buttons on A and B...
15
2563
by: JR | last post by:
Hi. I hope someone out there who is more versed with JavaScript than I can help me with the following annoying problem. Here's the problem. I have a form with the following layout: Column A Column B Column C data 4 radio buttons more data .... ... ... .... ... ...
2
1724
by: PC Datasheet | last post by:
I have an AccessXP(A2000 mode) customer who says on one form the navigation buttons do nothing when he clicks on any of the 5 but the navigation buttons work on other forms. In my copy of the database the navigation buttons work fine in the problem form. I have confidence in what he is telling me! Because of distance, I can not go on site. Does any one have any thoughts on this? Thanks! Steve PC Datasheet
0
2291
by: Aravind | last post by:
Hi folks. I have a form, frmHistory, which has 3 toggle buttons (1 of which is tglName, which I will be using to demonstrate my problem). The buttons are used to sort the form (explanations below). I have set the button's "Triple State" value to Yes, and the default value to False. Here is the macro that I used for tglName (I assigned the macro to the button's On Click event): ...
2
1981
by: Dave | last post by:
How do I hide the buttons when I'm printing a form off? I want the buttons on the form normally but not on the printed version. Another problem I've encountered is how do you get rid of the record navigation bar at the bottom of the form?
2
3565
by: CMEDIA_SOUND | last post by:
I have a peculiar problem, I have a tabpage with a label control on it. When i set a background image to the tabpage and drag the label around it has paint issues in that it is slow, granted the image i am using is 5mb!!! HOWEVER... I have inherited the tabpage created an Image reference in it, and overrriden the onPaint method to draw the image now if i press a button that sets the background image of the control
1
1806
by: Klaus Jensen | last post by:
Hi! This has been annoying me all day, and I can't get it to work It is really driving me nuts! Basicly this simple webapp created to illustrate my problem, renders five buttons, and adds a handler to the click event. When a button is clicked, the background-color is set to blue. Try running the page, and clicking the "Do stuff and update controls
8
2937
by: johnmmcparland | last post by:
Hi all, my program is trying to add group boxes with radio buttons at run time. While at one point it was able to draw the group boxes without the radio buttons, now it encounters problems just getting the radiobuttons out of the group box. /// area where radio buttons added to groupbox /// this code is wrapped in another loop creating group boxes
7
8364
by: mohammed.naghman | last post by:
Hi, I have 2 submit buttons in a jsp page. One of them takes me to page2.jsp and also passes the values enetered to page2.I have a link in the page2 that does a history.back to come to the previous page to make any chnages necessary. Now after making my changes, instead of going to page2.jsp if I want to submit the page, Instead of submitting the page it takes me to page2.jsp again. This problem is only with firefox. It works fine...
1
1363
by: swathichavalla | last post by:
Problem description: Clients working with an apple computer with the safari browser are experiencing problems with brokerage orders. When the client wants to enter a stock order, the order entry screen displays 31-12-2005 as date. When the client presses the OK button, it states that the entered date is wrong. When the client changes the date to 31-12-2006, the application says the date is wrong. If he uses the firefox browser he has no...
0
9722
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10124
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.