473,395 Members | 1,616 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1995
mc********@yahoo.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**********@tjx.com (J. Clancey) wrote in message news:<bc**************************@posting.google. 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******@tranquillitas.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**********@tjx.com (J. Clancey) wrote in message

news:<bc**************************@posting.google. 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******@tranquillitas.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
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...
15
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...
2
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...
0
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...
2
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...
2
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...
1
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...
8
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...
7
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.