Re: dropdown list of numbers
RICK wrote on 15/05/2008 22:45: yes using JScript ! var select = document.getElementById(select Tag); for (var i = 1; i <= 2000; ++i){ var option = document.createElement("OPTION "); option.text = "" + i; option.value = i; select.add(option, null); but do you really think that such select item will be usable ??
dropdown list of numbers
I am trying to create a drop down list of number from 1 -2000. Is there a better way to do this other than: <option value="2">2</option> <option value="3">3</option> . . . . <option value="2000">2000</option> Rick
Alternative to PowerShell...
Hi, Folks! I have been working on updating a .NET script engine originally written by Rama K. Vavilala called "NScript" originally posted on CodeProject. I have recently re-compiled this program for the Microsoft .NET Framework 2.0. With permission from the original author I have re-packaged the program and have called it Windows
Re: refresh list/menu
RICK wrote: Refreshing a page element from the server (and not the entire page) requires the ability to script (specifically: client-side script) a new request to the server and parse the response. That is pretty much the definition of AJAX, so you might want to reconsider your outright rejection of it.
Re: refresh list/menu
Rick wrote on 14 mei 2008 in microsoft.public.scripting.jsc ript: [Please do not toppost on usenet and do not quote signatures.] Perhaps you did not try the right way? I think it does work, but if you do not tell more about what you "need" ... What is the sense of only wanting answers that you already know?
Re: refresh list/menu
Well I tried Iframe and it didn't work for what I need and I don't know Ajax. Any other suggestions would be appreciated. Thanks, Rick
Re: refresh list/menu
=?Utf-8?B?UklDSw==?= wrote on 13 mei 2008 in microsoft.public.scripting.jsc ript: It is called AJAX or <iframe>
refresh list/menu
Anyway to refresh ONLY a list/menu and not refresh the entire page?
Re: Reference to an object in IE
really function Using solution object In fact here is an alternative test page based on your code:- <html> <head> <script type="text/javascript"> var SearchWidgetWhat = { aWhatCheckboxes : {}, iNumCheckboxes : 0, /* Need to do this because JS can't get the length of an object. Stupid @#(*&(*$&@# JS */