This is the code for the page reload:
function refreshwindow1(){
var form = document.forms[0];
var pageurl = "<%=Request.ServerVariables("URL")%>";
var servername = "<%=Request.ServerVariables("SERVER_NAME")%>";
var sitepath = "<%=Request.ServerVariables("PATH_INFO")%>";
var query =...
I have a form with numerous fields, some of which when selected cause other form fields to appear. When the page relods it goes back to the top of the form. Does anyone know of a way to force it to focus on the field that was last selected? I've tried numerous things and can't seem to get it to...
My apologies if this does not belong here, I didn't know where else to ask this question.
I have a coworker whose kid turned on the Content Advisor in IE and can not remember the password. Does anyone know of a way that this can be changed, or will he just need to try and uninstall/reinstall IE?
I have a user who has unchecked the box on the IE file download prompt and now Excel files only open in the browser. I need to reset it so it prompts her to open or save, but for the life of me cannot find where to reset it.
FYI - the specific lines I am referring too are:
LoadNodeText oProject, "DateApplication", XMLDateFormat(rs("ProjectInitiationDate").Value)
LoadNodeText oProject, "ExpectedCompletionDate", XMLDateFormat(rs("ProjectClosureDate").Value)
The code below pulls data from a SQL Server database and then generates an XML file. For some eason the dates from the database d not come through but everythingse does. Is it apprarent at all from this code as to why it isn't working?
<%
Option Explicit
Dim DataConn, cmdDC, rsDC
Dim...
I have a .asp page using VBScript that is fed data from a SQL Server db. Users can bring up a table of data on the screen, then click a link to go into the record and update it. What I need to be able to do is make it so if one person is logged in that no data can be edited by anyone else, but...
I have an ASP search page that contains a button that allows the user to download the results of the database search to an Excel file. The Excel file contains two date columns, but they will not properly sort nor will they format into Date type columns.
They are datetime columns in the...
We have ASPUpload installed on the servers here as our standard. What I need to get it to do is to append the file name with an unique identifier, the ID from the record in the database that it is associated with. Does anyone have any ideas on where to look for this?
I am using the code located here http://tek-tips.com/faqs.cfm?pid=216&fid=3599 and it works quite well. However, once the data in the table grows to much it causes and error in IE, in this case the table has 379 records in it. The error message is "A script on this page is causing Internet...
This is how I do it, using Javascript to refresh the window and call certain data from the database to populate a second drop-down menu based upon the first drop-down menu choice. I hope it makes sense.
JAVASCRIPT
function refreshwindow1(){
var form = document.forms[0];
var...
I have some Javascript that checks for the proper date format, but I would also like it to check to see if the date entered is not greater than the current day (today. Any ideas on how I can enhance this to do both at once?
<script LANGUAGE="javascript">
<!-- Begin
function datecheck(x) {...
I have a dynamic string (1, 2, 3, 4,) that can contain numerous different numbers (they are ID numbers). I need an easy way to split the string so I can use each number individually to access the database and query for those records. I tried the following but it doesn't work.
id =...
Thanks for the help folks but I FINALLY figured it out. I uninstalled my NIC drivers, removed the card, re-installed it and and it started working again. Now I get to re-install all the software I thought might be causing the problem LOL.
Thanks again for the help.
Same cable company, no cable company software installed. Ethernet connection connected directly to the cable modem. All setting are the same on both PC's.
I'll try the last suggestion when I get home this evening. At this point I'm thinking format c\ might be an option though LOL.
I moved my PC and cable connection to a new residence, it was running fine beofre I moved it. The connection to the cable company is working fine but my PC runs verrrrrry slow on the Internet, yet my girlfriends PC runs great. Hers had never been hooked to my connection before either. I...
I have a table, fed from a database, that shows 29 items. I need to break that down further by splitting out the 29 items into different categories. The problem is that one of the items is multiple words and my count function breaks at that point. Here's the code:
<%
if RS("status") =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.