microsoft.public.dotnet.languages.jscript Archive - January 2004
Post a message to this list
Messages
Page: 123
Microsoft JavaScript Menu (5 replies)
microsoft.public.dotnet.languages.jscript
Dear friends, I want design web site by MS frontpage2003, JavaScript menu like Microsoft.com site in left & top of pages. How can I do it? Do I need further software for this reason. Thank you so much, Pejman Mousavi,
newbie: how to get radio button selected index and value (3 replies)
microsoft.public.dotnet.languages.jscript
Hello, I was trying to get the radio button selected index and value, but found selectRdo1 & selectRdo1 were undefined. var selectRdo1 document.getElementById("rdoSelect").selectedIndex; var selectRdo2 document.getElementById("rdoSelect").value; I was wondering what is the correct method here. Thanks for the help.
goto in jscript.net (2 replies)
microsoft.public.dotnet.languages.jscript
Is "goto" or an equivalent supported in jscript.net? Labels? I've done a bit of searching and havn't found anything, but that may be because it's such a common word.
VsaEngine Jscript (2 replies)
microsoft.public.dotnet.languages.jscript
Hi, I use VsaEngine JScript for run my code but when i destroy it dosn't disallocate memory. How i do? I try with new APPDomain it works better but however there are problem. Thank's Danilo
parent textbox not being updated (2 replies)
microsoft.public.dotnet.languages.jscript
hi, I am using a server side textbox in my parent window with id txtUsername. In the pop up window, i assign the value to the txtUsername as window.parent.txtUsername somevalue; window.close(); But i do not see the value being updated to the txtUsername textbox. Any idea of where i am going wrong. It looks like the value is assigned to the window.parent.txtUsername. thanks vincent
Can I user an <OBJECT> tag to embed a windows form? (3 replies)
microsoft.public.dotnet.languages.jscript
Can I use an OBJECT tag and embed a fully functional windows form function inside the browser? Right now I've added the OBJECT tag reference into my ASP.NET Application but it's not working ...like so: script language &quot;jscript&quot; OBJECT id &quot;TestWeb&quot; classid &quot;http:TestLibrary.dll#TestLibrary.TestWeb&quot; /OBJEC T /script The TestWeb Class is a simple windows form inside as part of the TestLibrary DLL. An...
How can I pass parameter to a function (4 replies)
microsoft.public.dotnet.languages.jscript
I just get a input from another form, then pass it to a JS function, but it causes error, pls help to solve it. Thanks. ATtached pls find the simple program: %@ LANGUAGE JavaScript % HTML HEAD TITLE Sybase Web DataWindow /TITLE function jsFunction(str arg) { return str arg.substr(1,1) } /HEAD BODY % str Item Request.Form(&quot;Item&quot;) result jsFunction(str Item) Response.Write(result) % /BODY /HTML
ActiveXObject (5 replies)
microsoft.public.dotnet.languages.jscript
hi all, i'm tring to get a file size by writing: var fso new ActiveXObject(&quot;Scripting.FileSystemObject&quot;); and i get the error: Microsoft JScript runtime error: Automation server can't create object any ideas ? Oren
redirect html page (2 replies)
microsoft.public.dotnet.languages.jscript
Hello, I need to know how to redirect to a different page as soon as the first page is loaded. I would like this redirection to occur as soon as possible. Also the page must be .html it cannot be .asp or any other format. Thanks, Sean
Scripting in webforms (2 replies)
microsoft.public.dotnet.languages.jscript
You'll have to excuse first of all my ignorence as i'm relatively new to web development. I have a question. Is it possible to script in a web form (ASP.NET)? I have some code that works fine in a HTML page but refuses to work in a web form. Is there a particular place i have to put it or do i have to change some settings somewhere? Failing that how would it be possible to send information from th...
drop down menu hidden by listbox control (2 replies)
microsoft.public.dotnet.languages.jscript
Hi, I am using drop down menu in my pages. In one of my page,there is a listbox control below the menu. This listbox control is hiding the drop down menu items. How can i make the drop down menu not to be hidden by the listbox control? I tried to increase the z index for the menu control. But it did not help. Thanks Reb
Detect if site fails to respond (2 replies)
microsoft.public.dotnet.languages.jscript
Hi all... In our application we will have request coming from various partner sites... All the partner sites should be redirected to a diferent site if our site is not responding... Is there some Javascript code which can check if a particular page is responding or not.. Thank, JKJ.
tree structure (3 replies)
microsoft.public.dotnet.languages.jscript
hi, I have used microsoft treeview webcontrol with a checkbox in each node (using c#.net) to draw a tree. The tree is directly formed from the xml. Tree is not created dynamically. But when i check the parent, I want all its children to be checked automatically and on unchecking the parent, all its children must be unchecked. Can anyone help me out with the javascript to do this? Thanks Reb
Does the current version of IE Support JScript.NET? (2 replies)
microsoft.public.dotnet.languages.jscript
I would like to develop a fully functional JScript client application w/out ASP.NET. So that the Jscript application runs completely in the client's browser (NO Server roundtrips). If the customer installs the .NET Framework on their machine , will this work? thanks. w
How can I use Substr() method (3 replies)
microsoft.public.dotnet.languages.jscript
Within ASP, I get a variable from another form, then do some string operations by passing it to a JS function, which is supposed to return a value. But it prompts erro page. Pls advise solution. Ms JavaScript cannot support substr() method in this case? %@ LANGUAGE JavaScript % HTML HEAD TITLE Sybase Web DataWindow /TITLE % function jsFunction(str arg) { return str arg.substr(1,2) Not successful /...
Retrieving text from <Select> tag (2 replies)
microsoft.public.dotnet.languages.jscript
Hi there I currently have the following Select tag code select name &quot;CMBUNALLOCREASONS&quot; size &quot;1&quot; onchange &quot;AllocReasonOnChange();&quot; id &quot;CMBUNALLOCREASONS&quot; class &quot;CMBUNALLOCREASONSCSS&quot; option SELECTED value &quot;0&quot; Test 1 /option option value &quot;1&quot; Test 2 /option option value &quot;2&quot; Test 3 /option /select my problem is that I can't retrieve the text in the onchange function If I try document.all.CMBUNALLOCRE...
Is there a way to turn the self window's toolbar off (7 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hello,everyone. When we want to open a new window, we can set up the new window without toolbar. But if I don't want to open the new window, I just want to turn the current (self) window's toolbar off. Is it possible? Could anyone help? I do appreciate it. Haiwen
Microsoft common dialog (2 replies)
microsoft.public.dotnet.languages.jscript
hi all, i do have an aspx page with &quot;Microsoft common dialog&quot; that i added to my components. when i'm adding new component i get: OBJECT name &quot;dialog&quot; style &quot;Z INDEX: 108; LEFT: 83px; WIDTH: 49px; POSITION: absolute; TOP: 274px; HEIGHT: 42px&quot; classid &quot;clsid:F9043C85 F6F2 101A A3C9 08002B2F49FB&quot; VIEWASTEXT /OBJECT i do have a button that just opens that dialog box: INPUT style &quot;Z INDEX: 106; LEFT: ...
How to a JSP application interoperate with a .NET class library (3 replies)
microsoft.public.dotnet.languages.jscript
I am developing a class library under Visual C .NET. I found out yesterday that a client developing a website to use it is writing JSP pages running on an Apache server on a Windows box. Neither of us knows how to connect the applications. He wants me to provide a java class as a wrapper on my .NET class. I want him to connect directly to the .NET class or connect to a COM wrapper. Can anyone poin...
save xml with jscript (3 replies)
microsoft.public.dotnet.languages.jscript
hi, when i try to save an xml i get the following message : Permission denied. in a simple script like that: var doc new ActiveXObject(&quot;msxml2.DOMDocument.4.0&quot;); doc.async false; doc.resolveExternals false; doc.validateOnParse false; // Load an XML file into the DOM instance. doc.loadXML ( &quot;&amp;lt;?xml version '1.0'?&amp;gt;\n&quot; &quot;&amp;lt;doc title 'test'&amp;gt;\n&quot; &quot; &amp;lt;page num '1'&amp;gt;\n&quot; &quot; &amp;lt;para title 'Save...
Include Image Bytes in HTML How? (4 replies)
microsoft.public.dotnet.languages.jscript
For a variety of unpleasant reasons, I need to display an image in a web page where the image is stored in the HTML file (not in a separate GIF or JPG or whatever file). Small image, no more than 5k or so. It's acceptable to have the images only show up if the user is running MSIE 5 or MSIE 6 or whatever I have to require. It just seems to me, that with all the cool stuff .NET can do, there should...
Simple JSP question ... (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi, I am not a JSP programmer, but I recently wrote an .asp page to load an applet. One problem is that one string (compname) lost '\' in it: the original name should be &quot;system 1\cab 2\node 3&quot;, but what I got is &quot;system 1cab 2node 3&quot;. The function call is: function DoMyFunc(arg1, arg2, compname) { if(compname &quot;&quot;) url &quot;../../mypage.asp?server &quot; arg1 &quot;&amp;port &quot; arg2; else url &quot;../../mypage.asp?server...
Losing '\' in passing string ... (7 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi, I am not a JSP programmer, but recently I wrote several .asp to load an applet. The problem is that a string varialbe, compname, lost '\'s in it. For example, if Here is the function: //ssh function DoMyFunc( Server, Port, CompName ) { url &quot;/options.asp?Server &quot; Server &quot;&amp;Port &quot; Port &quot;&amp;CompName &quot; CompName; if( document.all.checkSelectableSkipOptions.checked ) url url &quot;&amp;Auto 1&quot;; window.open( url...
Regular Expression question ... (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi, Since I still can't figure out how to get back the lost '\' in my string (see my previous posts), I plan to write a small function to resume the '\'s. The current string is: &quot;system 1cabinet 2node 3&quot;, I want to make it to be &quot;system 1\cabinet 2\node 3&quot; (the number can be different, and 'node' can be different names such as 'dac', etc.). What will be the best way to do it in JSP? Can I use repl...
JavaScript Clock Dilemma (2 replies)
microsoft.public.dotnet.languages.jscript
I'm still quite new to JavaScript so excuse me if my question sounds stupid. JavaScript is worlds apart from Object Pascal and I'm still finding my way around. I'm working on a JavaScript clock that will show the time for all major Australian cities. I'm not sure how to approach the whole timezone offset thing. I know there is a function getTimezoneOffset() but I'm not sure how to implement it. He...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification