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
0
votes
3 answers

JScript.NET private variables

I'm wondering about JScript.NET private variables. Please take a look on the following code: import System; import System.Windows.Forms; import System.Drawing; var jsPDF = function(){ var state = 0; var beginPage = function(){ state = 2; …
Pavel Podlipensky
  • 8,201
  • 5
  • 42
  • 53
0
votes
2 answers

Is there a default constructor in .NET as there is in C#?

I'm learning about constructors and am still a bit of a newbie in programming so apologies in advance if I'm using any terminology incorrectly. I believe that what I've read is there's a handy default constructor in C# that allows you to declare…
0
votes
4 answers

I need help using regex and extracting a string after a colon

I need a little help using regex. This is the scenario : function name(a :String) or function name(a :String) : String If we have the version with return type, I will need exactly the string after the colon, otherwise I would need let's say…
Olaru Mircea
  • 2,570
  • 26
  • 49
0
votes
2 answers

How can I port a Javascript AES library to .NET to ensure interoperability?

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…
Alan
  • 45,915
  • 17
  • 113
  • 134
0
votes
0 answers

Javascript error calling overloaded methods of a C# class

I'm writing a C# class library, and calling it from some Javascript code (technically Jscript.NET). I recently added some overloaded methods, and Javascript has trouble deciding which one to call, because it doesn't always know the types of its…
Don Kirkby
  • 53,582
  • 27
  • 205
  • 286
-1
votes
1 answer

Fiddler: Programmatically add word to Query string

Please be kind, I'm new to Fiddler My purpose:I want to use Fiddler as a Google search filter Summary: I'm tired of manually adding "dog" every time I use Google.I do not want the "dog" appearing in my search results. For…
nasekt
  • 15
  • 7
-2
votes
4 answers

Use of indexOf() Method in JavaScript

var araj=["1","2"]; var idx=Array.IndexOf(araj,"1"); Doesn't work as expected. Why, and what's next? EDIT: it is javascript in asp.net (so the friend who won't open account here says)
Daniel Mošmondor
  • 19,718
  • 12
  • 58
  • 99
-2
votes
1 answer

JScript to Javascript Conversion

The code below is a web service call to ICEPortal which is in JScript.NET format. Currently Iceportal doesn't have a webservice call using javascript. Has anybody done this using javascript? I need your help to convert the code below to javascript…
cronLancer
  • 349
  • 2
  • 3
1 2 3 4 5 6
7