Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
64 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
  • 182
0 votes
0 answers
34 views

Blazor Server on .NET 7, implemented anchor navigation using the code from text verbatim. This works great for pages in the main app. When applied to pages located in a Razor class library, navigation ...
David Meyer's user avatar
1 vote
0 answers
272 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
24 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
65 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
30 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
76 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
103 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
190 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
635 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
235 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
47 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
42 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
84 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
206 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
0 votes
0 answers
45 views

This is for an interactive transcript showing a media element. I would like to call the media file (mp3/mp4) from my device, but it is not working. This is to call the media, but it doesn't seem to be ...
Aimes's user avatar
  • 1
0 votes
1 answer
90 views

var sharedJSLibrary = "bla"; var specificDownstreamScript = "bla2"; scriptEngine.Execute(sharedJSLibrary); scriptEngine.Execute(specificDownstreamScript); Do the clearScript ...
Bill Tarbell's user avatar
  • 5,324
0 votes
0 answers
34 views

I am very new to programming and i am trying to make a simple membership login page. However after trying for nearly 2 days now to get my code working accurately and trying multiple different methods ...
Shane Dee's user avatar
-1 votes
1 answer
92 views

I am showing HTML in a windows form where I can edit and quickly see the results. The following code works but if the "ShowString" has a reference to a site that does not allow IE11 then I ...
Joseph Stateson's user avatar
1 vote
1 answer
28 views

I would like to know if anyone can help me, when I place the button on this div, it is impossible to click on it to make it play the audio. enter image description here What am I doing wrong? INDEX &...
Vinícius Augusto's user avatar
0 votes
1 answer
284 views

I am stuck on an issue trying to get away from the cmd popup and have all the data from the command to appear in span tag. I know just enought to get the command to work but not sure how to make it ...
user3707925's user avatar
0 votes
1 answer
570 views

The documentation about script actions states, that a variable ScriptError is produced: https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/scripting#variables-produced-2 ...
Stefan's user avatar
  • 12.8k
1 vote
1 answer
5k views

If I use a flow action Run JavaScript function on web page in Power Automate Desktop, I am able to use following code: function ExecuteScript() { alert('foo'); // shown as pop up ...
Stefan's user avatar
  • 12.8k
-1 votes
1 answer
152 views

We have a client we need to communicate with and their API page only supports NTLM authentication. Our site runs classic ASP (jScript) so forgive that the syntax is slightly different than the what ...
Code Ninja's user avatar
-1 votes
1 answer
113 views

I would like to make an animation to my cards in reference section. I want to make an effect of kinda waves to the half of card like i "draw" on attached image when you enter the section of ...
czcryst's user avatar
-1 votes
2 answers
47 views

My heart will go on - Celine Dion My heart will go on - Celine Dion My heart will go on - Celine Dion My heart will go on -Celine Dion My heart will go on- Celine Dion My heart will go on-...
khalidhosain's user avatar
0 votes
1 answer
205 views

First of all, I have basically no knowledge on how to write JavaScript, so my problem might be quite simple to answer, but I've done some research and I didn't find anything yet. I'd like to know how ...
Yalgt's user avatar
  • 1
0 votes
3 answers
662 views

need to extraxt a value(dip) out of a html </span><span class="pron dpron">/<span class="ipa dipa lpr-2 lpl-1">buːm</span>/</span></span></...
Franklyn W. R. Tigier's user avatar
0 votes
1 answer
40 views

function myFunction12(){ var table1 = document.getElementById("table1").rows; var y31; for(var i = 2; i < table1.length; i++) { for(var j = 4; j < 5; j++) { ...
Welcome's user avatar
1 vote
1 answer
455 views

I want to convert the excel cell range string to row and columnnames If AS31 is input the expected output should be col = AS and row = 31 If 31 is input, then output is col = null and row = 31 If A is ...
Code Guy's user avatar
  • 3,198
0 votes
0 answers
87 views

My home automation system only allows communication through JSCRIPT that runs on the SPS embedded IIS as ASP code. The old web interface was just on HTML and JSCRIPT. I need to move to HTML, CSS and ...
Hodde's user avatar
  • 9
-1 votes
1 answer
109 views

How do I execute Excel macro module in JSCRIPT (not JAVASCRIPT and VBSCRIPT)? Double-clicking the jscript file causes the Excel macro module to run but it does not work. I wrote jscript codes like ...
Kengo Ariyama's user avatar
0 votes
1 answer
48 views

Can anybody advise me how I should go about adapting this code to remove the found object within an array of objects in localStorage. So far everything I have tried results in either only the 1st ...
user20471251's user avatar
1 vote
1 answer
140 views

A COM object lives in a DLL. Its IDL looks roughly like this: [ object, uuid(51EB4046-221E-45EF-BD63-0D31B163647C), oleautomation, dual, pointer_default(unique) ] interface ...
j6t's user avatar
  • 14.3k
0 votes
2 answers
169 views

How would i check to see if the ID exists within the localStorage object key array i am currenty using this and it does not work if (favorites.includes(theid)) { alert('You Allready Added this Listing'...
cathy maddox's user avatar
0 votes
1 answer
477 views

My error is: 'search' is assigned a value but never used. But I don't know if it's needed and if so, where to place it. Everything works and the search bar appears above my table, but it seems like my ...
dangoqut132's user avatar
0 votes
1 answer
47 views

I have done everything right when setting up my react app and for some reason I'm getting this error. All my code is in a .js file called App.API.js which is located in the src folder. The error is ...
dangoqut132's user avatar
3 votes
1 answer
2k views

We has a solution built on a WebBrowser that will use the JS engine. After upgrading to Windows 11 22H2, we found that the solution behaves differently from before. We did some research, and then ...
Michael.Sun's user avatar
1 vote
0 answers
64 views

I am making a hta app for a home project and I would like to use javascript classes. Is this possible? If a use the basic example I find on google it gives a syntax error in hta. works as a html ...
tokageKitayama's user avatar
-1 votes
1 answer
59 views

I have a small MVC5/C# Web application. In short, users will select a location from a dropdown ("#UnitList"). This fires the jquery event, to populate the next dropdown ("#CheckItem&...
ExecChef's user avatar
  • 449
0 votes
1 answer
102 views

I have following code in my WordPress site (footer). This part is about the Social Media Icons. here how and where I can insert URLs to each Social Media icons ? [ct_icon icon="%5B%7B%22icon%22%...
sanjeewa senanayake's user avatar
0 votes
1 answer
142 views

New to stackoverflow. About 5 years ago I built a booking site and haven't touch php since, so very very rusty. All is working well with it. However I want to make some updates. As part of the update ...
Paul's user avatar
  • 3
0 votes
1 answer
786 views

Im struggling to get this to work. I've got a python flask form that has a check box and an input field. I want to disable the input field if the check box is ticked. I've tried using a script in the ...
Syntegrity's user avatar
0 votes
1 answer
59 views

I am trying to pick up my coding after a short break and now i stumble upon the problem of the hamburger menu not collapsing and expanding. keep in mind this is work in progress i have to source file ...
zerox's user avatar
  • 3
1 vote
1 answer
43 views

I'm attempting to replace specific hyperlinks in text with the following expression: <a .*?href=(['"]?).*?\/?download.aspx\?myid=\{?([0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]...
Lewis Marhin's user avatar
1 vote
1 answer
83 views

I am trying to run a batch file that gets a variable from WSH script. When I run the script I get the correct output but I can't seem to set it to a variable @if (@codesection == @batch) @then cscript ...
Dman's user avatar
  • 573
0 votes
0 answers
31 views

Well, i think the title is pretty clear, how to encode a string to base64 in JScript? While researching online i found this: How to decode a Base64 string in JScript Yeah, intresting (for Decoding), ...
root823746374's user avatar
2 votes
1 answer
961 views

//How do I send Request in Robot Framework It Gives 500 server error //This is the request body that I want to send { "destinationFaxNumber": "9546599326", "...
durgesh dhamal's user avatar
-1 votes
1 answer
264 views

To do that I have written code below var tweet = prompt("compose your tweet"); var tweetcount = tweet.length; alert("you have written " + tweetcount + " characters you have &...
Haseeb's user avatar
  • 19
0 votes
1 answer
194 views

I'm creating a text adventure game that involves the use of buttons changing text. This was working up until a few minutes ago and now it has stopped. Here is the code: <button type = "button&...
user avatar

1
2 3 4 5
24