Is it possible to use both JScript and VBScript in the same HTA? Can I call VBScript functions from JScript and vice-versa? Are there any "gotchas," like the JScript running first and the VBScript running second (classic ASP pages have this issue).
...
I have always wondered what the heck is the difference between JScript and JavaScript.
...
Hello. I'm fairly new to JavaScript.
Given a local machine's folder path (Windows), I was wondering how you can extract the names of all the possible folders in the current path, without the knowledge of how many folders there are or what they are called.
Thank you very much in advance.
...
I have to maintain a server-side script written in JScript (NOT Javascript) that needs to discover the OS of the system that it's running on. How can I do this correctly and robustly?
...
Hi there,
I have some problem with inserting image when i generate pdf using FPDF library (ASP port version) you can get it here ASP FPDF
I have tried this code (this was ASP VBScript):
pdf.Image Server.MapPath("map.jpg"), 10, 10, 800, 400
pdf.Image "map.jpg", 10, 10, 800, 400
pdf.Image "http://localhost/pdf_test/map.jpg", 10, 10, 80...
I was wondering if there is an Email module for MS Jscript (not Jscript .net) similar to the one in python?
...
I'm new to JQuery and I'd like to know if you've got any idea regarding how to accomplish the following with JQuery instead of JScript:
You have a group of a's within a top div:
<h3>
<a id="acer" href="#acerca">acerca</a> |
<a id="cur" href="#cursos">cursos y clases</a> |
<a id="cal" href="#calendario">calendario</a> |
<a id="con" href...
I've been using Fiddler for a few days now, extending CustomRules.js with my own logic. However, the file is becoming quite heavy (it's fairly heavy to begin with). I'm not very familiar with .NET or JScript, but I would like to be able to split CustomRules.js into several smaller files that I can just include into CustomRules.js. Is thi...
Background:
I have data that I'm encrypting with javascript on the client side that needs to be decrypted on the server side.
As far as I can tell, the javascript AES library I'm using does not interop with the C# Rijndael library.
Thus, I'm left to essentially implement the javascript AES in C# for use.
I'm going to try to compile ...
I have a function written in JScript (Not javascript) I need to suspend until a certain global variable becomes true.
The global variable is changed to true when another function is called after an ajax response:
function(req, event, data) {
globalVariable = true;
}
When I try to loop until the variable is true:
while (globalVaria...
I'm customizing MS Dynamics CRM 4 and I have some JScript running on the form for Phone Call, E-mail, Letter, etc. How do I check in JScript whether the Activity is open or closed? It should be really simple, but I can't seem to find it.
...
Hello,
I am using the JSON2 script in an asp page to parse JSON post data.
After parsing the data, I have an object in VBScript that allows for notations such as:
jsonData.key
I wish to parse through all the keys, however, I have no knowledge of the key names.
How would I go about doing this?
Example JSON:
{ "dbtable":"TABLE1", "dbco...
How can I make this code into a one line instruction?
var qe : QuestionnaireElement = state.Parameters["demobreak"];
var qid : String = qe.QuestionId;
qid != "q45"
public class QuestionnaireElement : ParameterValue, IParameterValue, ICloneabl
My real question is:
How can I cast in JScript objects?
((QuestionnaireElement)state....
Note: NOT Javascript. :-)
Hello,
I just had a random thought, and have decided to learn more Jscript. I know the basics, I'm proficient in HTML, XML and C++ BUT, there doesn't seem to be much docs on Jscript. The official MS Documentation for JScript contains a WHOPPING ONE WHOLE PAGE about web-page development in Jscript! And that pa...
I work on a JScript/VBScript HTML application (so we can execute at higher privileges than a normal web page) and we're providing the capability to download a file and need to provide feedback on the download progress to our users. Naturally, I figured a progress bar or progress text based on the total file size and the amount of the fi...
Using javascript, I am trying to change the selection of the listbox item like this:
function selectFirstActiveListItem(oListBox)
{
for (var i = 0; i < oListBox.options.length; i++)
{
oListBox.selectedIndex = i;
var szStatus = GetDomboBoxItemAttribute("Status", m_pdocConnec...
Is there a better way to create objects in IScriptControl than this?
Result := SC.Eval('new Date()');
I need something like this:
function CreateJSObject(JSClassName: string; Params: PDispParams): OleVariant;
a naive implementation would be
var
S: string;
begin
S := '';
for I := P.cArgs - 1 downto 0 do
begin
...
Hi, i have a literal object like this
var O={
toString:function(){
// some code here
},
anotherMethod:function(){
// some code here
}
}
Im walk through object with for-in loop
for(var p in O){
// some stuff with p and O[p]
}
The problem is toString property will not catch in the loop on IE browser!
...
Is there a way to trigger a GridView rebind from an html markup page using jQuery or jscript?
I have an ActiveX download control which passes all events via jscript.
So, a have a download complete event on the markup page but not the code behind.
Thank you,
James
Here is the main aspx page:
<script type="text/javascript">
...
I am trying to use jquery or jscript to click a hidden button and I always get
"Microsoft JScript runtime error: Object expected" error.
I have tried all of the following (all with the same results):
$('#btnCompleteHidden').click();or:
$('#btnCompleteHidden').trigger('click');With plain JavaScript:
document.getElementById('btnCompleteH...