I am about to change the computer name of our parent server. When this has been completed will I need to update the clients in order for them to connect to this parent server. Only the computer name and possibly the ip address of this server is changing.
If I do have to update the clients...
I am about to create a webpage that is basically a spreadsheet. The some of the fields will submit data to a sql database after user input and others will be getting data from a sql database. It is for the company intranet. I will use asp to connect to the databases.
What is the best way...
I am opening a new window with this code:
newWin = window.open('standards.htm', 'standards');
This standards.htm doc is an existing doc with more code in it. I need to use the values of four text fields in standards.htm. Can I reference these fields with javascript code? Or do i need to...
I need to add code to a webpage that will determine the version of acrobat reader installed.
My research shows that the following will do the job:
var version = app.viewerVersion;
if (version >= 6) // only do this if 5 or greater //
{
document.write("you have version 6")
}
When i run...
I have an intranet web page that I want to display multiple documents. Since the docs are all coming from different urls I thought that frames would be the way to go. I want the page to look like one continous document. Basically it should simply display one document in a frame and another in...
I have an intranet page with a select box that is populated with records from a database using asp. When an item is selected the values associated with the selected item are displayed on the page with javascript. On the same page I also have an iframe that I would like to load documents that...
I have some hidden text boxes that are populated with text using javascript. Can I format and display the text within them without using the text box? If so, how do I reference the text in my html?
ex.
<input type="hidden" name="Tool">
<h1>I would like the text from the "Tool" text box to...
I have an intranet page that contains between 1 to 4 iframes one of them containing a pdf and the rest of the iframes containing html. These iframes are populated with the documents based on the user's selection. It is important that if the user chooses to print these iframes, that all of the...
I am using a javascript function to collapse iframes. Here is the function:
function visibility(obj, anchor) {
if (document.getElementById(obj).style.display != "") {
document.getElementById(obj).style.display = "";
anchor.innerHTML = '[-]';
}
else {...
I have an intranet page that loads documents into multiple iframes. I am trying to print all of them at once with a javascript print function. I am receiving an an "access denied" error when clicking the print button.
I have read that it is not possible to use the javascript print function...
How can I verify if my recordset contains any records?
As of now the code functions fine when the SQL statement finds matches in the database. But, when there are no matches I get an error when I try to read the recordset into an array.
<%
PatternNum = Request.Form("Pat")
SheetNum =...
Is it possible to preserve the selected item in a list box after a form submission. When the form is submitted the page refreshes and the list box selection is reset. How can I keep the same option selected after refresh?
I am trying to align the columns in a text box. Here is the snippet of code that pertains:
LastCol = 2
LastRow = UBound(RecSet_Array, 2)
Response.Write "<SELECT NAME='sheetlist' SIZE=20 onChange=FillFields()>"
For Row = 0 To LastRow
Response.Write "<OPTION value=" &...
I am trying to read a recordset into a multidimensional array. Here is the code that I have so far:
<%
Dim objRS
Dim numRows
Dim avarFields(2)
avarFields(0,) = "sheetno"
avarFields(1) = "pattern"
avarFields(2) = "machine"
Set objRS = Server.CreateObject...
I am trying to create a query that will pull all records that have not expired. I have a field called enddate, formatted mm/dd/yyyy. I need to compare this field to today's date and select all of the records that are less than or equal to the enddate. Is this possible? Here is my code...
I am trying to use php to execute Javascript code. I need to open a new window with the url of a file on our intranet.
echo "<SCRIPT LANGUAGE='JavaScript'>window.open('file:\\server17a\shared\quality\qalerts\$filename','','toolbar=0,menubar=0,width=640,height=480');</script>";
When executed...
Does anyone know of a free utility that will find and replace blocks of text and also gives you the option to save the "find and replace" in order to perform it again on other text files. My goal is to insert code into an htm file that was created by converting a Word doc into a web page. I...
When printing a specific webpage, I need a custom header to be displayed on the printout. The header needs to say, "this quality alert expires mm/dd/yyyy". The date must be one day after the date it was printed. Is this possible to do with cascading style sheets? This header should only be...
I am getting this error: Parse error: parse error in /export/home0/apache/htdocs/qalert.php(53) : eval()'d code on line 1
when running this code. I am assuming that it is referring to line 53, here is that block of code:
function array_csort() {
$args = func_get_args();
$marray =...
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.