Backspace Pressed

anyone ever noticed that if you're in a select box on a form and you push the backspace key, it takes you back a page in your history?

It even did it on this posting page, when I clicked in the font drop down.Any idea how to prevent this?

View Replies


ADVERTISEMENT

<Backspace> Key Issue.

I created a full asp web application. I have most of the bugs worked out of it. However, when I turned it over to the end-users for testing they found a wierd situation, as end-users will, that I hadn't come across.

When a users is filling in a form and they land on a dropdown box, if the user hits the <Backspace> key it takes them back one page.

Since this is my first asp project and Im not that experiainced with web applications, I wasn't sure if this was really an issue. Since this doesn't happen when the user lands on any other control, text, check box, option button etc... Code:

View Replies View Related

Another <Backspace> Question

I had posted a question asking if there was a way to disable the backspace key on a web form. Because I had users complaining that when they hit the backspace key on a drop down or option, or check box it took them to the previous page.

I found a javascript that altered the ASCII value of the backspace key that eliminated the issue.

However it worked too good. What I would really like is for the backspace to be disabled on the drop down, option, and check box controls and re enabled on text controls. One funny thing I noticed is that the backspace does continue to work on single line text boxes but not multiline. Code:

View Replies View Related

Need To Know If The X Button Has Been Pressed

Looked everywhere and have so far got no further than an hour ago.

I want to alert the user when they have pressed the close button on the window so that they have the option of not closing. I know it sounds mad but its essential for me.

View Replies View Related

Should I Use Count To See If Button Was Pressed?

So far I've been using instructions like 'if request.form("var.x") <>
"" then ...' but then I found that if images are disabled (or not
found) and I click on the alt text, then Firefox (or was it IE?) sends
a 'var.x=' in the response so my instruction doesn't detect that the
'button' was pressed. Is it safe to change my checks to 'if
request.form("var.x").count 0 then ...' instead? does it work for
all browser responses and HTML standards, etc?

View Replies View Related

Statistic Report Regarding Links Pressed In Asp Pages? MTS?IIS?

NOT SURE It's an MTS matter or just IIS , and if not, do tell me what is the software to use for it,a dn where to ask.

I'd like to get a daily/weekly/monthly report regarding number of links that r pressed from my site.

Details:

1. I have 4 pages, and each page has a list of links. I'd like to get statistics reports regarding usage of these links. I.e. - I'd like to know how many times each link is pressed (pre day, week, month) by users.

2. I would also like to know what hour/day/date each pressing took place, and also the IP number of the user.

3. I would also like to know if possible to get the info as a table that can be edited later (if copied to excel etc.), and get Graphs also.

We r using IIS (Intranet), OS IS windows NT, and DB is Microsoft Access. I'd like the administrator to perform such reports on a daily basis (and weekly and monthly as well), and send it to us (the asp programmers).

I have no access to the live server (besdies copying files to there), so can not use the IIS/MTS myself.

View Replies View Related

Prevent Users From Accessing A Web Page When The Back Button Is Pressed

Is there a way in ASP to prevent users from accessing a web page when the back button is pressed in the browser.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved