Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
5 replies
121 views

I’m interested in learning how to build projects using HTML Applications (HTA), especially because I enjoy older Windows technologies and would like to experiment with making simple games in this ...
TheJavaScripter's user avatar
0 votes
1 answer
71 views

As the title says, how can i get the length of byte array in microsoft JScript. Assuming i converted a string to byte array using: var asc = WScript.CreateObject("System.Text.UTF8Encoding"); ...
JoeAdeoye's user avatar
  • 190
1 vote
0 answers
276 views

I've just upgraded windows 11 to 24H2. I write JScript in Classic ASP running on IIS. After upgrading none of my code works anymore. I get Catastrophic Error and then Script Engine Exception" &...
Simon Sawyer's user avatar
2 votes
0 answers
29 views

I have a function in JScript that accepts a string or an array as parameter: <script language="JScript" runat="server"> function handleThis(what) { if (typeof what === '...
Avenger's user avatar
  • 404
0 votes
0 answers
75 views

I have to be able to parse JSON strings containing arrays with VBScript. I've been using MSScriptControl within a function to create an object that I can then reference in the VBscript. This has ...
David Brigden's user avatar
0 votes
0 answers
32 views

I'm encountering a 400 BAD REQUEST error when running my Flask application. The error occurs when I send a POST request to http://127.0.0.1:5000/predict. The console logs show the following message: ...
Teejay's user avatar
  • 1
0 votes
2 answers
81 views

In this answer: https://stackoverflow.com/a/1021848/5280471 it is suggested to use a "language-wrapping" technique to implement JSON parsing by importing a json2.js JavaScript file like so: &...
Avenger's user avatar
  • 404
1 vote
1 answer
114 views

In this instance, I want to find out if a array has a element in it: function OnTestCmd(scriptCmdData){ print(["Jenny", "Matilda", "Greta"].indexOf("Matilda"...
Ralf_Reddings's user avatar
0 votes
1 answer
200 views

I am a hobby programmer, and have made an HTA file, with some JavaScript and a single contentEditable <DIV>. Using minimal JavaScript I can make keyboard shortcuts to format, save, and exit. I ...
Gavin's user avatar
  • 499
0 votes
0 answers
647 views

Installed ag-grid community, when I add an import import { AgGridReact } from 'ag-grid-react'; and try to run, I get the following error ./node_modules/ag-grid-react/dist/package/index.esm.mjs Can't ...
Michael Pukmel's user avatar
0 votes
1 answer
251 views

I am writing a JavaScript that shall be executed in Windows Scripting Host on the command line with cscript.exe. I need JSON parsing, so I decided on JavaScript instead of VBScript. Now I am trying to ...
Robert's user avatar
  • 157
0 votes
0 answers
49 views

I need to append the data entered in a form on a webpage into a txt file called "text.txt". I'm not sure what the issue is but my knowledge of jscript is very limited. <html> <...
Reshaun's user avatar
0 votes
1 answer
54 views

Im trying to make a button that can add and remove a style for certain parts of my website in this case changing the background colors of the elements. Although the buttons work fine when their is one ...
Clayton Walker's user avatar
-2 votes
1 answer
88 views

I just found some code here. I love the idea of the display (UI) and have been using it to make some compiled fixer for my organization's daily operation. Here is the full code: @if (@CodeSection == @...
Doy Lyster's user avatar
0 votes
1 answer
216 views

I had a problem in double posting the form with csrf enabled. In my setup: mobile autocomplete was posting the form automatically, but before redirecting if I click submit as all fields are filled it ...
Anchar's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
79