Group:  .NET General / Allgemein ยป microsoft.public.dotnet.languages.jscript

Threads Replies Last Post
10 Pages: 1  2  3  4  5  6  7  8  9  10  
Behaviors cause modal dialog box to close slowly
As part of an HTA, I have a modal dialog box that has a large number of inputs on it. Each input field also has a label; both input fields and labels have behaviors defined through CSS. Closing the dialog window, either by submitting it or actually closing it, takes 3-4 seconds. However, if the behavior files (.htc files) are encoded using the Microsoft Script Encoder, the delay on closi...
2 12/24/2008 8:18:39 AM
Last version of jscript.net broken in some ways ?
Hello everyone. When testing the Jscript.NET on the .NET 2.0 Beta 2 (JScript 8.00.50215), I found an older example, with a FileSystemWatcher thread example. below is the example // ----- file 'watcher.js' ----- import System.Threading; import System.IO; // Placeholder class to hold the delegate (callback) class Delegates { static function Handler(o : Object, e : FileSystemEven...
3 12/17/2008 4:47:05 PM
rotating image
I have an image of a clock hand that I want to rotate aroung a clock face in IE6 similar to the way Gadgets work. The image is 20pxX120px. I have been able to get the image to rotate but the size of the image does not change so the image gets clipped. I have found nothing helpful on the web yet to rotate a rectange around it's center. Thanks,...
2 12/17/2008 6:44:03 AM
how to create a date field from a textfield
Hi, I want with this string like "25-12-2008" to create a date variable. So from string to date How can this be done thanx ton ...
3 12/13/2008 1:39:18 PM
cancelling href
Javascript newbie here. I have <a href="javascript:goTo(aPage);">some page</a> .... function goTo(aPage) { if (aPage.indexOf("some criteria") > -1)) window.location = aPage; else void(0); // works in FF (cancels the redirection // and stays in original page) // but IE gives an error and prompts // to debug } What can I put in there to make ...
4 12/2/2008 9:08:38 PM
Validation
Wanting to validate for two numbers and hypen and then any amount of numbers (e.g. 12-45456). How can I modify the following to allow for that. /^[\w\-+]+\-[0-9]+$/; Thanks, Rick...
2 11/14/2008 7:07:37 AM
Javascript on HTML tables or Gridviews?
Hi! I am creating a sports betting ASP.NET (VB) web application (like in http://www.interwetten.com). I show the available events to the users from which they select, to create a betting coupon. Each event line in the coupon contains the following columns: event_start_date, event_descr, bet_type, bet_odd and Delete_line image. As the user adds lines to the betting coupon, a recalculation...
3 10/13/2008 12:38:19 PM
Javascript to create HTML tables dynamically and more...
I am creating a sports betting ASP.NET (VB) web application (like in http://www.interwetten.com). I show the available events to the users from which they select, to create a betting coupon. Each line in the coupon contains the following columns: event_start_date, event_descr, bet_type, bet_odd and Delete_line. As the user adds lines to the betting coupon, a recalculation is done, so the...
1 10/4/2008 6:06:10 PM
Diabetic Recipes and More...
Hi Cookers, Welcome to our new website, cookersworld.com. We have expanded the content links to ad Mr. Emeril Lagasse's fine recipes along with recipes for diabetic's. The website is full of great links from our partners. We have links to free cookbooks and more. Please stop by and support us. Visit all our links and choose the best recipe for you or your family. We look forward t...
1 6/24/2007 8:26:55 AM
Override JPGs in HTML using Scripting
Hello, I have been asked to create an HTML page that contains several generic JPGs. What is requested in that depending on parameters, the JPGs are changed to others JPGs. Basically, one web page for various departments so that maintenance and updates are minimal. I am not sure IF this can be done or how this can be done. Can anyone provide me with some direction on this? I was thi...
1 6/20/2007 12:21:01 PM
When copy iframes contentWindow disappears, how to avoid this?
When copy iframes contentWindow disappears, how to avoid this? -- Thank you, De Cool, EPE ...
1 6/18/2007 3:37:56 PM
HELP: ASP JScript & VBScript interoperability
How can VBScript code access JScript code variables in the same ASP page? <SCRIPT LANGAUGE="VBScript"> Dim a a = 10 </SCRIPT> <SCRIPT LANGUAGE="JScript"> Response.Write(a); </SCRIPT> Also, is this valid JScript code because ASP hasn't complained. <SCRIPT LANGUAGE="JScript"> function Section(a, b, c, d) { this.a = a; this.memFunction = function() ...
2 6/15/2007 5:22:42 PM
JScript.Net //scripting with .Net components //
Well, I wonder what JScript.Net is ? Is this another .Net server side language or is the replacement for the current javascript ? What I have been looking for is a scripting language in the client side which can be able to access client's .Net framework and can run them. (I understand that browser has to support it and the security concerns but ....I don't want to discuss this in this q...
2 6/5/2007 5:09:51 AM
IE7 and disabled property
Apparently in IE7 you can no longer use control.disabled = true; control.disabled = false; Instead you must use control.disabled = 'disabled'; But control.disabled = 'enabled' doesn't work. Neither does control.disabled = ''; Anyone know the correct cross-browser solution for dynamically enabling/disabling checkboxes ? Thanks. ...
2 6/2/2007 12:35:34 PM
How to track the download of a file on the clients browser
Hi, I am facing a unique requirement in JavaScript... I have one HTML which shows the "Print" button and a <EMBED tag which downloads the pdf file from server. this embed tag is invisible to user. Now the requirement is "Print" button needs to be disabled till the pdf gets downloaded in that invisible <EMBED tag. I tried onload function but it didnt work.. Please help.. Thank...
1 6/1/2007 12:05:00 AM
DOWNLOAD CRACKED 2007's SOFTWARE: ARCHICAD 11,UNIGRAPHICS NX5,SOLIDWORKS 2008,XSTEEL 13,AUTOCAD 2008
Our team provide different types of services such as: - proffessional cracking of any kind of software (CAD,CAM,CAE,EDA,GIS,PCB,FEA,FEM,CNC,CFD,PDS,3D,Optics etc.) designed for any kind of operating systems(Windows 95/98/ME/2000/XP, Linux, FreeBSD, OS/2, MAC OS etc.) - producing keygens, licenses for different proctection systems (FlexLM, SentinelLM, ElanLM, CrypKey, etc.) - pro...
1 5/30/2007 9:17:20 PM
HELP: Strict JavaScript Syntax Checker Verifier
Two quick questions: 1. I really love Mozilla Firefox's javascript.options.strict mode (type about:config in addressbar). However it still doesn't pick up on certain things such as making it compulsory to have semi-colon as a statement terminator. I have hundreds of organically grown JavaScript files that are millions lines long. They are not written by me but by former employees and ...
9 5/15/2007 12:37:31 PM
UserDomainName / UserName sample requested
hi, i am looking for a possibility to provide the currently logged in user as following: domain\username. unfortunately i am not able to find a sample how to do this in the context of window.alert. i was thinking about UserDomainName / UserName, but this failed too. anyone having sample code for me? thanks in advance, fritz -- Fritz Theiss...
1 5/15/2007 9:00:02 AM
$get()
Can someone describe how $get() differs from document.getElementById ? Where can I find some docs for $get() ? ...
2 5/14/2007 7:06:28 PM
jscript question - help
Hi, I have what I believe to be a simple scenario. I have a table with div tags that I toggle block and none on the style when a user clicks to expand the "table" The problem lies when the user clicks a hyperlink within the expanded div to resort. When they do the page reposts and the table is back to collapsed as when they first arrived. Is there any way to fire a java script on a post...
1 4/25/2007 8:08:14 PM
Foreign characters appearing in JS file on some PCs
Ok - this is a wierd one. We have an ASP app running on IIS on Windows 2000 SP4. One of the pages has a couple of included JS files. On my PC that pages are displayed fine, but on a few PCs in this building, and on all at our Chinese office, javascript errors are thrown when the page is browsed. When I ask the browser to direcly access the JS file, and open them there are a few dif...
2 4/19/2007 12:58:49 PM
Why does this not work in IE?
I have the following javascript function function phSearchBox_Blur(src) { var container = src.parentNode; var comboSelect = container.getElementsByTagName('select')[0]; if (comboSelect.style.display != 'none') { if (comboSelect.selectedIndex != -1) { src.value = comboSelect.value; } } comboSelect.style.display = 'none'; }...
1 4/13/2007 12:45:34 PM
Web Page Printing Problem
I have this problem with DataGrid printing. I have a page which contains only DataGrid. When i try to print the page, only 1st page contains the verticle and horizontal lines of the grid. The rest of the pages do not contain any lines. Can anybody help me with this?? ...
3 4/12/2007 5:00:24 PM
noob question
I'm trying to do the equivalent of the C# object initializer such as : object p1 = new Object[] {'a', 'b', 'c'} in JScript.NET I can do this: var p1 = new object[3]; p1[0] = 'a'; p1[1] = 'b'; p1[2] = 'c'; Is there a way to initialize the values inline like in the C# above in JScript.NET? Thanks. ...
1 4/9/2007 7:19:06 PM
not display source code
I want to be able to hide the source code from people when they are on the internet using my vbscript (classic asp) application. The part I do not want them to see is information like name, address, social security number. Can you tell me how I can hide this information from users when they use internet explorer, hit view and then select source? I would not mind using javascript that ...
4 4/9/2007 1:28:03 PM
10 Pages: 1  2  3  4  5  6  7  8  9  10  

Home | Search | Terms | Imprint
Newsgroups Reader