Disabling

I have span and Textarea fields. How can I disable and gray out those dynamically using DHTML. when I called disabled = true it makes it readonly and does not gry out.

View Replies


ADVERTISEMENT

Disabling Other Page

I have a login form. when user logs in, user is transferring randomly an Exam page.
these pages're(ExamA.asp and ExamB.asp)

Question is :
if user transferred to ExamA.asp how can i disable to enter ExamB.asp ?
(there is no link in ExamA.asp to ExamB.asp. only changing url in the address bar.)

here is my login from code :

strSQL="Select Exam from Exam"
set Exam=conn.execute(strSQL)
Stat=cint(Exam("Exam"))

if Stat=1 then

sqlUp="update Exam set Exam=2"
conn.execute(sqlUp)
response.redirect ("ExamB.asp")

elseif Stat=2 then

sqlUp1="update Exam set Exam=1"
conn.execute(sqlUp1)
response.redirect ("ExamA.asp")
end if

View Replies View Related

Disabling Links

I would like to know how to disable a link when a certain value is false. I have the following link.

<br><a href="OrderProgress.asp" class="blueLink">Check Order
Progress</a><br><br>

I wish to disable the link if blnValidCustomer = false and enable it otherwise.

View Replies View Related

Disabling The Image On A Href In Asp

I have the following href in my asp code. I would like to disable the image
so the user cant click on the javascript for this image.

....
<input type=text name=thedate size=10><a
href=""javascript:show_calendar('dataform.Line" & lineno &
"6',null,null,'YYYY/MM/DD');"" onmouseover=""window.status='Date
Picker';return true;"" onmouseout=""window.status='';return true;""><img
src='../Production/show-calendar.gif' width='24' height='22' border='0'></a>

Is this possible?

View Replies View Related

Disabling A Submit Button

I have pulled some date from a table in access and displayed it on a form in a table. If there was no data in the Table, Hence the Html table displaying it was empty is there a way of disabling the submit button that submits that data to avoid a conflict?

View Replies View Related

Disabling Session State

I was thinking about disabling session state on some of my pages by doing this:
<% @ EnableSessionState = False %>

My question is if I disable the session state will the page still reset the session timeout (eg. back to 20min. default) when that page is loaded? I need it to reset the session timeout.

View Replies View Related

Disabling HTML Code

I have creating a simple ASP guestbook using an Access Database, is there any of disabling HTML code so that visitors cant post HTML in the guestbook entries?

View Replies View Related

Disabling Text Fields

i have a form that has a multiple fields,when a user chooses an option from option seleect then it should disable some part of the form and i have no idea how to do that.

View Replies View Related

Disabling Referer HTTP Header In IE / IIS 5 / ASP

Is there any way to prevent an IE 6 browser from sending up the REFERER HTTP header? (Either as an IIS Server setting, change to asp files, or even a setting in the IE browser).

This is wasting WAN bandwidth in our Intranet application - we have fairly low network bandwidth. The referer is inevitably somewhere else in our own ASP application, and is usually has a really nasty long QString attached ... (and no, really dont want to run stats about how users navigate our app)..

View Replies View Related

Disabling ASPBufferingLimit For File Downloads

I have a website that (like many) allows users to download large files. Some are up to several hundred MB in size. The problem is that since switching to IIS 6.0, the size of the file is limited by the ASPBufferingLimit, and it's size seems to be limited to only 4294967295 bytes.

That's pretty big but it's not quite big enough and I need to disable it. Some people have recommended setting it to -1 via:

c:
cd C:inetpubadminscripts
cscript adsutil.vbs set /w3svc/1/aspbufferinglimit -1

but the -1 doesn't really "take"...IIS keeps it at 4294967295.

Setting it to 0 does "take", but then IIS returns nothing (0 bytes).

How do I disable or workaround this security feature in IIS which is not allowing people to download large files?

View Replies View Related

Disabling Edits To A Text Field

I am using text fields to display data from a table in access in an ASP file, i am using text fields because if i used anything else, like labels the info was not updated to the table correctly.

Does anyone know how to input of edits to a text field so that the user can view the data in it but cannot remove or change it?

View Replies View Related

Disabling Explorer's Back Button

How can I prevent user pressing the explorer's back button?

View Replies View Related

Disabling Default IE Window Buttons

I have a window that pops up from an asp page... and stays open for 5 seconds
then closes... is there a way to not allow the user to close this window manually before the 5 seconds.. ? Code:

View Replies View Related

Disabling A Text Box/list Box After A Selectio Has Been Made.

I have a .asp page that has a text box and a list box. The user enters criteria into ONE of the boxes.

What i would like is that when the user makes a selection from the list box (sql populated) the text box is disabled, and when a user enters a character into the text box, the list box is disabled (not including spaces)

This is a bit cosmetic, but what is the best way of doing this? Some client side code presumably, Javascript? Code:

View Replies View Related

Disabling Open/save Dialog In Word

In my application I am using Word to hold data out of a MS SQL Server 2000 database. On the clients PC's I am getting a open/save pop up dialog for opening MS- Word. How can I disable this pop- up and load Word without having this dialog? The clients pc are Windows XP/SP2 machines.

View Replies View Related







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