<DIV>sir/madam,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>i want number and date validation check in either vbscript/javascript.</DIV>
<DIV> </DIV>
<DIV>please help me out<BR><BR><B><I>javascript-request@LaTech.edu</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send Javascript mailing list submissions to<BR>javascript@LaTech.edu<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR>or, via email, send a message with subject or body 'help' to<BR>javascript-request@LaTech.edu<BR><BR>You can reach the person managing the list at<BR>javascript-owner@LaTech.edu<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of Javascript digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. switch/ case activating (Richard )<BR>2. re: WEIGHT-10 [Javascript] switch/ case activating (Peter Brunone)<BR>3. How to include multiple paths (Richard )<BR>4. Iframe's Real innerHTML (Flavio Gomes)<BR>5. Re: Iframe's Real innerHTML (Roger Roelofs)<BR>6. Re: Iframe's Real innerHTML (Shawn Milo)<BR>7. Re: Iframe's Real innerHTML (Flavio
Gomes)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Wed, 9 Feb 2005 15:25:06 -0600<BR>From: "Richard " <NOMOREBULL@CHARTER.NET><BR>Subject: [Javascript] switch/ case activating<BR>To: <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <003901c50eed$d39f5600$7b057344@stp.wi.charter.com><BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Ok I understand all the basics of the switch/case item.<BR>Basically a more structured "if" array.<BR><BR>My problem is, understanding how to activate it.<BR>In my menu of
<UL>, which could be quite long, where and how do you state<BR>what "case" is to be a certain value?"<BR>I plan using string literals, such as "planes", "trains" and that.<BR>For instance:<BR>
<DIV id=planes><BR>Do I trigger the function with getelementybyID routine or what?<BR><BR>If anyone can come with a short example as to how to do this, I'd appreciate<BR>it.<BR><BR><BR><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Wed, 9 Feb 2005 14:54:20 -0700<BR>From: "Peter Brunone" <PETER@BRUNONE.COM><BR>Subject: re: WEIGHT-10 [Javascript] switch/ case activating<BR>To: <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <86590fe269a141aca900f605f8075468@brunone.com><BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hi Richard,<BR><BR> You may be over-analyzing this. If you have strings to compare, you just stick 'em in there.<BR><BR>switch(myStringValue) {<BR> case "planes":<BR> alert("It's planes!!!");<BR> break;<BR> }<BR><BR> On the other hand, if you're expecting that switch variable to be the ID of the appropriate element, you might not even need a switch statement (i.e. you'd
just feed the value into your document.getElementById method and go).<BR><BR>Cheers,<BR><BR>Peter<BR><BR>From: "Richard " nomorebull@charter.net<BR><BR>Ok I understand all the basics of the switch/case item.<BR>Basically a more structured "if" array.<BR><BR>My problem is, understanding how to activate it.<BR>In my menu of , which could be quite long, where and how do you state<BR>what "case" is to be a certain value?"<BR>I plan using string literals, such as "planes", "trains" and that.<BR>For instance:<BR><BR>Do I trigger the function with getelementybyID routine or what?<BR><BR>If anyone can come with a short example as to how to do this, I'd appreciate<BR>it.<BR><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20050209/875f134e/attachment-0001.html<BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Thu, 10 Feb 2005 02:24:44 -0600<BR>From: "Richard "
<NOMOREBULL@CHARTER.NET><BR>Subject: [Javascript] How to include multiple paths<BR>To: <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <007001c50f49$fa66d680$7b057344@stp.wi.charter.com><BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Using the script below, I want to use more than one list and path as shown<BR>here.<BR>Where "planes" could also be like "fruit", "bugs", "homes" or whatever.<BR><BR>User clicks open a main menu, clicks a group, thumbnails are displayed below<BR>the main image.<BR>Main image is replaced with the appropriate image.<BR>Clues appreciated.<BR><BR><BR><BR>// put images to preload in this array<BR>var preload_list = new Array("pic101.jpg", "pic102.jpg", "pic103.jpg",<BR>"pic104.jpg");<BR>var path_to_images = "planes/";<BR><BR>// preload (change path to images if necessary)<BR>if (document.images) {<BR>var image_list = new Array();<BR>for (var preload_counter=0; preload_counter<PRELOAD_LIST.LENGTH;<BR>preload_counter++) {<BR>image_list[preload_counter]
= new Image();<BR>image_list[preload_counter].src = path_to_images +<BR>preload_list[preload_counter];<BR>}<BR>}<BR><BR>function swapImage(num) {<BR>if (document.images) {<BR>document.main.src = image_list[num].src;<BR>}<BR>}<BR><BR><BR><BR>------------------------------<BR><BR>Message: 4<BR>Date: Thu, 10 Feb 2005 12:04:43 -0200<BR>From: Flavio Gomes <FLAVIO@ECONOMISA.COM.BR><BR>Subject: [Javascript] Iframe's Real innerHTML<BR>To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <420B69FB.5090507@economisa.com.br><BR>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<BR><BR><BR>Hello everyone,<BR><BR>I got myself on a kind of a little problem that I couldn't find a <BR>solution yet.<BR>In my program there's an iframe that does some calculations and thru <BR>JavaScript I change it's (the iframe's) "src" attribute to recalculate <BR>the value. But I couldn't find the way to bring it back to JavaScript.<BR><BR>The better (and not working =] ) aproach I could do
was:<BR><BR>"""""""""""""""""""""<BR><XIFRAME id=myIFrame src="medoescalculations.html">This is not what I <BR>want </IFRAME><BR>
<SCRIPT><br> oFrame = document.getElementById(myIFrame);<br> alert(oFrame.innerHTML);<br> </SCRIPT>
<BR>"""""""""""""""""""""<BR><BR>Any help would be apreciated,<BR><BR>Thanks.<BR><BR><BR>Ps.: Milo, have you got a regexp for that? ^^<BR><BR>--<BR>Flavio Gomes<BR>flavio@economisa.com.br<BR><BR><BR>------------------------------<BR><BR>Message: 5<BR>Date: Thu, 10 Feb 2005 09:14:43 -0500<BR>From: Roger Roelofs <RER@DATACOMPUSA.COM><BR>Subject: Re: [Javascript] Iframe's Real innerHTML<BR>To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <22ebfa9cf5e75aec9ff93b35fca82022@datacompusa.com><BR>Content-Type: text/plain; charset=US-ASCII; format=flowed<BR><BR>Flavio,<BR>On Feb 10, 2005, at 9:04 AM, Flavio Gomes wrote:<BR><BR>> Hello everyone,<BR>><BR>> I got myself on a kind of a little problem that I couldn't find a <BR>> solution yet.<BR>> In my program there's an iframe that does some calculations and thru <BR>> JavaScript I change it's (the iframe's) "src" attribute to recalculate <BR>> the value. But I couldn't find the way to bring it back to
JavaScript.<BR>><BR>> The better (and not working =] ) aproach I could do was:<BR>><BR>> """""""""""""""""""""<BR>> <XIFRAME id=myIFrame src="medoescalculations.html">This is not what <BR>> I want </IFRAME><BR>>
<SCRIPT><br>> oFrame = document.getElementById(myIFrame);<br>> alert(oFrame.innerHTML);<br>> </SCRIPT>
<BR>> """""""""""""""""""""<BR><BR>What about<BR>oFrame = document.getElementById(myIFrame).document;<BR><BR>Roger<BR>-------------------------------------------------------<BR>Roger Roelofs web www.datacompusa.com<BR>Datacomp Appraisal Services web www.mhvillage.com<BR>3215 Eaglecrest Drive, NE Email rer at datacompusa.com<BR>Grand Rapids, MI 49525-4593<BR><BR><BR><BR>------------------------------<BR><BR>Message: 6<BR>Date: Thu, 10 Feb 2005 09:18:34 -0500<BR>From: Shawn Milo <SHAWN.MILO@GMAIL.COM><BR>Subject: Re: [Javascript] Iframe's Real innerHTML<BR>To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <2dc0c81b050210061869d13b8c@mail.gmail.com><BR>Content-Type: text/plain; charset=US-ASCII<BR><BR>Sorry, no regex. :o( I'll try to throw one in to the list soon, in<BR>response to a question that can be solved more simply some other way,<BR>don't you worry. Regular expressions are fun. :o)<BR><BR>Shawn<BR><BR><BR><BR>On Thu, 10 Feb 2005 09:14:43 -0500, Roger
Roelofs <RER@DATACOMPUSA.COM>wrote:<BR>> Flavio,<BR>> On Feb 10, 2005, at 9:04 AM, Flavio Gomes wrote:<BR>> <BR>> > Hello everyone,<BR>> ><BR>> > I got myself on a kind of a little problem that I couldn't find a<BR>> > solution yet.<BR>> > In my program there's an iframe that does some calculations and thru<BR>> > JavaScript I change it's (the iframe's) "src" attribute to recalculate<BR>> > the value. But I couldn't find the way to bring it back to JavaScript.<BR>> ><BR>> > The better (and not working =] ) aproach I could do was:<BR>> ><BR>> > """""""""""""""""""""<BR>> > <XIFRAME id=myIFrame src="medoescalculations.html">This is not what<BR>> > I want </IFRAME><BR>> >
<SCRIPT><br>> > oFrame = document.getElementById(myIFrame);<br>> > alert(oFrame.innerHTML);<br>> > </SCRIPT>
<BR>> > """""""""""""""""""""<BR>> <BR>> What about<BR>> oFrame = document.getElementById(myIFrame).document;<BR>> <BR>> Roger<BR>> -------------------------------------------------------<BR>> Roger Roelofs web www.datacompusa.com<BR>> Datacomp Appraisal Services web www.mhvillage.com<BR>> 3215 Eaglecrest Drive, NE Email rer at datacompusa.com<BR>> Grand Rapids, MI 49525-4593<BR>> <BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> https://lists.LaTech.edu/mailman/listinfo/javascript<BR>><BR><BR><BR>------------------------------<BR><BR>Message: 7<BR>Date: Thu, 10 Feb 2005 15:32:22 -0200<BR>From: Flavio Gomes <FLAVIO@ECONOMISA.COM.BR><BR>Subject: Re: [Javascript] Iframe's Real innerHTML<BR>To: "[JavaScript List]" <JAVASCRIPT@LATECH.EDU><BR>Message-ID: <420B9AA6.3070003@economisa.com.br><BR>Content-Type: text/plain; charset=ISO-8859-1;
format=flowed<BR><BR><BR>Roger,<BR><BR>In which browser this solution worked?<BR>I tried here in mozilla 1.7 and oFrame.document returned undefined and <BR>on IE 6.0 it returned a "Document Object" but oFrame.document is the <BR>same as window.document, so it didn't helped much.<BR><BR>If anyone has got any other idea, I'd be grateful to hear them!! ^^<BR><BR>Ps.: Only a magic RegExp will save this time?? o.O<BR><BR>Shawn Milo wrote:<BR><BR>>Sorry, no regex. :o( I'll try to throw one in to the list soon, in<BR>>response to a question that can be solved more simply some other way,<BR>>don't you worry. Regular expressions are fun. :o)<BR>><BR>>Shawn<BR>><BR>><BR>><BR>>On Thu, 10 Feb 2005 09:14:43 -0500, Roger Roelofs <RER@DATACOMPUSA.COM>wrote:<BR>> <BR>><BR>>>Flavio,<BR>>>On Feb 10, 2005, at 9:04 AM, Flavio Gomes wrote:<BR>>><BR>>> <BR>>><BR>>>>Hello everyone,<BR>>>><BR>>>> I got myself on a
kind of a little problem that I couldn't find a<BR>>>>solution yet.<BR>>>> In my program there's an iframe that does some calculations and thru<BR>>>>JavaScript I change it's (the iframe's) "src" attribute to recalculate<BR>>>>the value. But I couldn't find the way to bring it back to JavaScript.<BR>>>><BR>>>>The better (and not working =] ) aproach I could do was:<BR>>>><BR>>>>"""""""""""""""""""""<BR>>>> <XIFRAME id=myIFrame src="medoescalculations.html">This is not what<BR>>>>I want </IFRAME><BR>>>>
<SCRIPT><br>>>> oFrame = document.getElementById(myIFrame);<br>>>> alert(oFrame.innerHTML);<br>>>> </SCRIPT>
<BR>>>>"""""""""""""""""""""<BR>>>> <BR>>>><BR>>>What about<BR>>>oFrame = document.getElementById(myIFrame).document;<BR>>><BR>>>Roger<BR>>>-------------------------------------------------------<BR>>>Roger Roelofs web www.datacompusa.com<BR>>>Datacomp Appraisal Services web www.mhvillage.com<BR>>>3215 Eaglecrest Drive, NE Email rer at datacompusa.com<BR>>>Grand Rapids, MI 49525-4593<BR>>><BR>>>_______________________________________________<BR>>>Javascript mailing list<BR>>>Javascript@LaTech.edu<BR>>>https://lists.LaTech.edu/mailman/listinfo/javascript<BR>>><BR>>> <BR>>><BR>>_______________________________________________<BR>>Javascript mailing list<BR>>Javascript@LaTech.edu<BR>>https://lists.LaTech.edu/mailman/listinfo/javascript<BR>>
<BR>><BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu<BR>https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><BR>End of Javascript Digest, Vol 24, Issue 10<BR>******************************************<BR></DIV></UL></BLOCKQUOTE><BR><BR><p>
                <hr size=1>Do you Yahoo!?<br>
Yahoo! Search presents - <a href="http://us.rd.yahoo.com/evt=30648/*http://movies.yahoo.com/movies/feature/jibjabinaugural.html">Jib Jab's 'Second Term'</a>