Questions tagged [jscript.net]

JScript.NET is a .NET programming language developed by Microsoft.

JScript.NET is a .NET programming language developed by Microsoft as a natural successor to Microsoft's Active Scripting language JScript, which, in turn, started life as an implementation of JavaScript.

More info: Wikipedia article

98 questions
1
vote
2 answers

Not able to access external Jscript File even after referencing?

I'm a beginner trying my first program to add external jscript file in scr attribute of script tag, followed all steps as I searched but it's not working the way it should. Can someone please help me with this? I have one aspx form, and one button…
1
vote
1 answer

Example of ElapsedTime Event Handler in .NET Jscript

Does anyone have an example of this, I've been trying for days and I can't figure it out. Help... Here is one of the things I've tried: var aTimer = new System.Timers.Timer(10000); aTimer.add_Elapsed(handler); } public function handler(sender:…
Mitchell
  • 929
  • 2
  • 11
  • 34
0
votes
1 answer

Using RegExp.$1 in Fiddlers CustomRules.js

I've been using Fiddler for a few days now, extending CustomRules.js with my own logic. I tried to grab some information out of the response body using regular expressions This is what I copied from…
0
votes
1 answer

Save values and use it thrught all subsequent redirect in Fiddler

I want to save a value in a variable and use it in following requests. How can I save data in a persistent way?
Duccio Fabbri
  • 998
  • 1
  • 10
  • 21
0
votes
0 answers

Fiddler (Jscript.NET) - Adding an JSON Object to an existing ArrayList?

So I currently trying to modify a WebRequest that's an JSON. I can modify values fine. However, now I want to try, to add an Object: How the JSON looks like: "pizza":[ { "name": "Salame", "bla" : 5 }, { "name": "Salame", "bla" : 5 } ] How my…
Enaske
  • 23
  • 5
0
votes
0 answers

does Jscript .NET work on latest browsers, like Mozilla, Edge, Chrome

We are working on some old application. Jscript.NET was used to create this software. This application only works In Internet Explorer. Other browser do not support it. Has anyone faced similar issue?
0
votes
1 answer

parsing jscript within sql server 2008

Is there a way to parse jscript which is stored in a server table. I am looking for something like eval(jscript function).
TonyP
  • 5,655
  • 13
  • 60
  • 94
0
votes
1 answer

Jscript .net Replace a string using regex match

I am looking for a way to replace a string using reg ex match in JScript .Net. inputString = "this is my test string audienceId=123456 done here" the value of the audienceId can be any 6 digit integer and is a random value. I am using fiddler…
sridhar249
  • 4,471
  • 6
  • 26
  • 27
0
votes
1 answer

Didn't Jscript.net have most of the TypeScript features?

I am ignorant about TypeScript. But from what I have read in beginner articles about it, I dont see anything "new" that is "great" as the adopters and advertisers claim it to be. [1] Syntax-wise didn't JScript.net already offer everything that…
Jazz
  • 639
  • 1
  • 11
  • 28
0
votes
1 answer

JScript that would allow me to add together values in table cells, which values to add will depend on which option is selected from a dropdown list

Basically I have drop down lists for building a PC as such in my view (MVC 2), for all you non-MVC folks, the below inline view code will yield a standard dropdown list(s): <%: Html.DropDownList("CPUList", new…
0
votes
0 answers

How to modify "Content-Disposition" in Request Content via Fiddler Script?

I am trying to modify "Content-Disposition" value in "multipart/form-data" POST request with Fiddler that is automatically generated by webpage's javascript with attached image on file upload. However, I cannot find a way to do it: when I try to…
0
votes
1 answer

Using JScript.NET to create WCF services?

I am trying to create a WCF service in JScript.NET. (I know, I should do it in C# or VB.NET, but humour me, please.) Has anyone done this before? I can create .asmx web services, but I'm not sure how I have to modify web.config to make the .svc file…
Ricky Morse
0
votes
1 answer

How to check if an array is an array in JScript?

I am trying to port this Javascript code to JScript, but I am not familiar with the base library. They are supposed to be a compatible languages but this ain't working... the following code gives me a 'method or property not supported by the object'…
beppe9000
  • 1,056
  • 1
  • 13
  • 28
0
votes
1 answer

Ambiguous match found when calling String.Split()

I'm programming in JScript.NET which is similar to C# . I want to split a string on multiple characters, in this case " - ". The problem is when I do that like this (which should be the way to do it according to this thread): var text = "test -…
Jonatan Stenbacka
  • 1,824
  • 2
  • 23
  • 48
0
votes
1 answer

Resolving Microsoft.jscript.resources.dll fails

I have code that creates and invokes methods from Microsoft.Jscript objects. I'm registering on the ResourceResolve event on the AppDomain (fired when the resources for a specific assembly cannot be loaded). I have the Windows Localization set to…
Francisco Silva
  • 530
  • 1
  • 7
  • 21