Javascript Disabled Redirect?
I currently have a login.asp page which handles Username and Password Authentication. No Javascript functions are on this page. I do have a script that detects if their browser has javascript disabled. Code:
View Replies
ADVERTISEMENT
And recently i have just encountered a problem. The problem's that how we can find out if users have disabled their browser's javascript support ability.
Most of my visitors are using Internet Explorer. so it means thier browser can already support Javascript. but when they disable javascript, is there anyway we can detect that in ASP?
View Replies
View Related
Can someone tell me how I could redirect to a new page in Javascript. The only catch is that the function for the redirect is in one of six frames on a particular page and I want the entire page to redirect. The way I have it now it just redirects in the one frame.
View Replies
View Related
I am trying to pass hidden fields around without showing a query
string in the address bar.
e.g. formA.asp
not formA.asp?var1=blah&var2=blah
I have this going okay so far using forms, hidden fields, and
javascript hyperlinks on most pages.
I have a processing page that currently adds records to a database
then uses the response.redirect method to pass the results to another
page (showing the added records). Code:
View Replies
View Related
I have a quick question. I have a form loading up, within this update form I have a few fields disabled: ex: <input type="text" name=record value = "<%=record %> " disabled>.
when I submit this file to asp for updating, it goes to the next page but it does not allow the updates of the disabled fields to come through. How can I get pass that other than using a session variable.
View Replies
View Related
How can i detect cookies are disabled or not.
View Replies
View Related
I found out that I can't get the value of a disabled field with Request("myField"). An alternative could be 'readonly', but my field, that is a listbox <select>, doesn't have this attribute.
View Replies
View Related
The input forms are created using FORMMANGER of MS Visual Interdev 6.0(ASP Code). The forms containing textboxes and bottons (with disable property) are shown correctly in IE5. But when same forms are viewed in IE6 the disabled textboxes and buttons are shown distorted.
View Replies
View Related
i was wondering if i could enable/disable input according to the user, e.g.
enable input2 if input1 is enable, else it's disabled. Also, if input1 is
deleted then input2 is disabled.
View Replies
View Related
I am collecting information from a form. In that one control is calculated by a formula, but i don't want the user to modify it. So i've disabled that button. But my problem is i was not able to get the data using "Request.form("txtcontrol")".
View Replies
View Related
I am using a couple of session variables in my site. From what I can figure
out, session information is stored on the users computer in a cookie -
If the user has cookies disabled, do session variables still work - just
without the option of setting the Timeout property, as I'm assuming?
View Replies
View Related
I'm trying (without any success) to get the value of a disabled select
control. From reviewing:
http://www.w3.org/TR/html401/intera...l#adef-disabled
It doesn't sound like it's going to be possible directly. I'm
thinking that I can get around it by enabling the select control
during some javascript that gets executed during the submit.
View Replies
View Related
Is there any way I can pass the value in a disabled text field without creating a hidden field?
View Replies
View Related
I am encountering errors with some legacy asp scripts. The erorr returned when accessing these pages is:
Error Type:
(0x80004005)
Unspecified error
and occurrs when cookies are disabled on the client's browser. Note, if cookies are enabled but no cookie exists, the script does not die, it is only when cookies are completely disabled. Code:
View Replies
View Related
I am trying to fatch disabled text box vlue on other form but i cant...
View Replies
View Related
I found some example on web, but most of them are need 2 pages by using redirect method. Is there code for do this only in one page?
View Replies
View Related
what's the differences between readonly and disabled attribute? When I do the post, it couldn't get both values <%= fname %>. any ideas?
<input type="text" name="fname" value="Joe" readOnly>
<input type="text" name="fname" value="Joe" disabled>
View Replies
View Related
I have a page (page A) which displays a number of checkboxes, with the checked/not checked value being read in from a database.
Some of these checkboxes must be checked (based on the user currently accessing the page), and therefore are marked as checked="checked" and disabled="disabled" in order to prevent a user from deselecting it.
Page A works perfectly, but I have a problem with the next bit...
When the page is submitted to page B, page B doesn't get sent the values of the checkboxes that are disabled.
Split(Request.Form("KPA" ), "," )
function to put all my selected checkboxes in an array, but the disabled ones that are checked are not appearing in this array.
View Replies
View Related
As I understand it IE stores the session id in a cookie on the user machine.
This identifies the session between pages.
If cookies are disabled then session variables don't work...
Is it possible to pass the session id between pages by posting them etc, and
manually force the session id on each page.
View Replies
View Related
how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..
View Replies
View Related
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009)
Component is disabled
/thankyou.asp, line 61
Code:.....
View Replies
View Related
I am writing an application in ASP which needs to decide at server side while the ASP code is executing whether the cookie is enabled/disabled at the client browser or not.
I do got the code which runs accurately when the IP Address is given of the server. It does not work when I access the web server(local development server) by it's name.
Please note that the code below sometimes does not work even when the IP Address was given to access the web site.
The code snippet is as under:-
View Replies
View Related
I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:
response.redirect("ftp://myusername:mypassword@ftp.mysite.com")
but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens myusername's FTP
home page just fine, so I know the FTP site is working as expected. Also,
if I put in an anonymous ftp site, without the username and password (e.g.
"ftp://ftp.microsoft.com"), the redirect works fine, too.
I don't want the user to be prompted by IE for the username and password at
the FTP site, so I am providing them from within the web site.
What can be preventing the response.redirect from handling non-anonymous FTP
access? Is there a better way to do this?
View Replies
View Related
I have a dll coded in vb that has a method X with the follwing signature
function X(a as string, optional b as string, optional c as string)
now i need to call this method from asp using javascript.
var dl = Server.CreateObject("dll");
dl.X(....);
I need to pass only 2 parameters 'a' and 'c'. Had it been vbscript I could have done dl.X(a,,c) but javascript doesn't accept that.
View Replies
View Related
I'm having a customer submit an order. When they submit it, it posts to a
page that processes the order and inserts into our database, while
displaying a summary of their order. I have a javascript function that will
cause a "confirm" box to show up if an order seems like it might be a
duplicate. However, I can't seem to get the code to "wait" for the response
from that box, which I guess makes some sense. Am I stuck with having an
interim page or doing something with posts or is there an easy way to get
the record to not insert until the user responds to the confirm box?
View Replies
View Related
Im sure it exists but i am having some difficulty finding it. I need come code to take out any SPACES in a textbox when text is entered OR submitted. Example
i have a text box where people can enter there car registration.
To keep consistency thoughout my site, i want L736 VAF to be entered into the database as L736VAF.
so that when it is recalled via a search form, L736VAF wont be returned as "no record found" because some one has put a space init!
So i basically need code to eliminate any space!
View Replies
View Related
I need to detect the users browser resolution (done with javascript)
var height= (screen.height)
var width= (screen.width)
Now I need to use these javascript variables to set the values of hidden html forms. How would I go about doing this.
<input name="width" type="hidden" value= Javascript Variable Here ?????>
View Replies
View Related
update some long commOn first page I display all the records from database (working well). Then first column has href which opens a popup (i am passing rownum from database to popup). I was hoping to run ASP code on load of the page so the comments which is already there for that row in the databse automatically comes in a textarea. And then you can edit and hit update. And this will update the database.
Also I was thinking of using session variables for the rownum. But bcos I have href which opens a popup, I am not sure how i can set the session variable.
I dont want to pass the "comments" itself to the next page bcos it can be really long comment and QueryString has some limitations.
View Replies
View Related
I am making a dynmanic form that goes to a question depended on the answer. Is there a way that I can make it remember what the person selected (radio button) in the question so that I don't have to write something like,
"<input type = 'radio' name='Question3' value='Yes' checked <% if Question3 = "Yes" then response.write "SELECTED" end if%>>Yes<BR>" + ????
View Replies
View Related
is it possible to use them together?i keep getting errors when i use them together
View Replies
View Related
I have a asp page that have an array for instance:
<%
a(0)=0
a(1)=1
a(2)=2
a(3)=3
%>
I would like to show each element of the array with alerts in javascript... Do you know what its the way to make something like this...
View Replies
View Related
i have an asp page which shows a list of articles which are pulled from the database.
I have a variable as below which defines number of records to show on each page
<%
numRows = 5
%>
Now i also have a drop down list from which you can choose 'display 5 records per page', display 10 records per page' and so on.What i want is when a new value is chosen from the list, the page refreshes and the ASP variable numRows is set to this new value.
View Replies
View Related
I'd like to put some SQL values in my Javascript which is defined in de Head
section
If I put it in there like <%objrs=("field")%>, the script does not seem to
run ?
View Replies
View Related