JScript

JScript is Microsoft's dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer. JScript is implemented as an Active Scripting engine, so it can be "plugged in" to OLE Automation applications that support Active Scripting, such as Internet Explorer, Active Server Pages, and Windows Script Host. It also means such applications can use multiple Active Scripting languages, e.g., JScript, VBScript or PerlScript.

Share tech news, updates, or what's on your mind.

Sign up to Post

I've reviewed the article by Julian Hansen detailing how to create linked dropdowns using JQuery and PHP. However, how would I go about this if I have the data stored in different folders located on a server?

Ex. Main Folder > Sub Folder > 3rd folder > Document

1st Dropdown list will provide a list of states (list extracted from Main Folder)

2nd Dropdown list will provide a list of cities (list extracted from Subfolder, dependent on 1st dropdown selection)

3rd Dropdown list will provide a list of counties (list extracted from 3rd folder, dependent on 2nd dropdown selection)

4th dropdown list will provide a list of word/excel/pdf documents (list extracted from document, list is dependent on 3rd dropdown selection)

The form should display as a popup form, with submit and clear buttons.

Test.html
Untitled-3.php
Untitled-2.js
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Oh men,
Im wondering if you guys can give me some advice and examples of how i can position my web page in the proper manner,
some tricks or best practices for positioning my page locally
regards
0
I tried to create a count down clock in Dreamweaver.  I need to remove the script I entered, but unsure of how to do it.  Help, please.
0
I am trying to get Trend Micro statistics written out to a text file with a batch file.

pccntmon.exe -c >> File.txt
pccntmon.exe -v >> File.txt

I see that the pccntmon.exe app seems to start a new command line when it is executed so only the flags are passed to the exe.  I am sure that this is due to ensuring that the app is not compromised by some easy silly code.  I have many servers over Win 2K3 and up to gather this info.  I do not have access to the central admin server.

I have tried the following :
start /wait cmd /c "C:\Program Files\Trend Micro\OfficeScan Client\pccntmon.exe" -c >> C:\<desktop>\file.txt
and
start /B /wait "C:\Program Files\Trend Micro\OfficeScan Client\pccntmon.exe" -c >> C:\<desktop>\file.txt

Open in new window

This opens a new window and displays the agent info in the console only.  
Also, after the pccntmon.exe executes it is expecting a user to hit "Enter" on the keyboard.  I think I can approach this with a bit of  Jscript.

set SendKeys=CScript //nologo //E:JScript "%~F0"

%SendKeys% "start /wait cmd /c "C:\Program Files\Trend Micro\OfficeScan Client\pccntmon.exe" -c >> C:\<desktop>\file.txt"

@end

// JScript section

var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.SendKeys(WScript.Arguments(0));

Open in new window


But I got to get past the first part first.  Any direction is appreciated.
0
This works pretty well but I want to add more than just one .js file to it. Do How can I add more than one source to this?

<script type="text/javascript">
function downloadJSAtOnload() {
 var element = document.createElement("script");
 element.src = "yourdeferscripts.js";
 document.body.appendChild(element);
 }
 if (window.addEventListener)
 window.addEventListener("load", downloadJSAtOnload, false);
 else if (window.attachEvent)
 window.attachEvent("onload", downloadJSAtOnload);
 else window.onload = downloadJSAtOnload;
</script>

Open in new window

0

JScript

JScript is Microsoft's dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer. JScript is implemented as an Active Scripting engine, so it can be "plugged in" to OLE Automation applications that support Active Scripting, such as Internet Explorer, Active Server Pages, and Windows Script Host. It also means such applications can use multiple Active Scripting languages, e.g., JScript, VBScript or PerlScript.

Related Topics

Top Experts In
JScript
<
Monthly
>

No Top Experts for this time period. Answer questions to earn the title!