473,395 Members | 1,694 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.

Can I disable all links on HTML page?

JN
I would like to disable all links and buttons on HTML page to prevent
multiple clicking while page is not yet sent to server. I tried to
disable whole document, but this won't prevent links to be clicked on.
Any ideas how to do that? Thanks.
Jul 20 '05 #1
3 6529
In article <7e**************************@posting.google.com >,
ji*****@volny.cz enlightened us with...
I would like to disable all links and buttons on HTML page to prevent
multiple clicking while page is not yet sent to server. I tried to
disable whole document, but this won't prevent links to be clicked on.
Any ideas how to do that? Thanks.


And if the server times out and the user needs to resubmit form data?
They'd have to refresh the page and reenter all their data.

This is a Bad Idea.
Trust me. I did it and ended up taking all the code back out.

--
--
~kaeli~
A lot of money is tainted - It taint yours and it taint mine.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #2
In article <MP************************@nntp.lucent.com>,
kaeli <ti******@NOSPAM.comcast.net> wrote:
In article <7e**************************@posting.google.com >,
ji*****@volny.cz enlightened us with...
I would like to disable all links and buttons on HTML page to prevent
multiple clicking while page is not yet sent to server. I tried to
disable whole document, but this won't prevent links to be clicked on.
Any ideas how to do that? Thanks.


And if the server times out and the user needs to resubmit form data?
They'd have to refresh the page and reenter all their data.

This is a Bad Idea.
Trust me. I did it and ended up taking all the code back out.


Newer web broswers, such as Netscape 7.1, display a warning message
asking the user if they really want to send the form twice.

Other browser, change the submit button to indicate that it has been
pressed.

Along this line, I think you could display a message, insert some text
in the panel, or change the button text to say that the form has been
submitted.

I think people are becoming more familiar with how the web works and
filling in forms with greater care.

Robert
Jul 20 '05 #3
Robert wrote:
kaeli <ti******@NOSPAM.comcast.net> wrote:
ji*****@volny.cz enlightened us with...
> I would like to disable all links and buttons on HTML page to prevent
> multiple clicking while page is not yet sent to server. I tried to
> disable whole document, but this won't prevent links to be clicked on.
> Any ideas how to do that? Thanks.


[...]


Newer web broswers, such as Netscape 7.1, display a warning message
asking the user if they really want to send the form twice.


They do but they do only if you return to a document that is the
*result* of sending POST data, which is not the case here. Browsers
certainly do not prevent submitting form data if the original document
is displayed. (Unintentional) misuse of a submit button can and must
still (only) be handled by the server-side application, such as using
sessions.
PointedEars
Jul 23 '05 #4

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

Similar topics

4
by: KS | last post by:
Im trying to prevent the user from clicking any other links on my page when the user have selected/clicked a href once. Sometimes it takes a while before the next page loads so some user will try...
7
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so...
4
by: Els | last post by:
Hi, I would like an opinion on the following: I have a page which is made up of background-images with transparent linked images in front of it, which on hover show text in CSS popups. Due to...
6
by: nntp | last post by:
I have a set of links which I want search engines to crawl them, but I want to disable them from my visitors, so I will ask the link owners to pay me to let me enable them. <a disabled...
4
by: Jamie Jackson | last post by:
I know that it's possible to return false in an onClick to disable a link. Is there a way to do this within the HREF attribute? Something like: <a href="javascript: return false;"> ? Thanks,...
5
by: bdtmike | last post by:
I'm using VS2005. I have a form that has fields and a required field validator control on it. Everything works great except there's a behavior I'm trying to get working. If a user is on a form...
2
by: rn5a | last post by:
In a shopping cart app, assume that a user has placed 4 orders (each order has a corresponding OrderID which will be unique). When he comes to MyCart.aspx, by default, the details of his last order...
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
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...
0
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...

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.