Results 1 to 3 of 3

Thread: How do you write <BR> over 200 times in javascript?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    How do you write <BR> over 200 times in javascript?

    How do you write <BR> over 200 times in javascript?

    Something like strings("Test", 200) in vb.

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655
    Here's one way.

    Code:
    <script language="JavaScript">
    
    var BrStr =""
    
    for(i=1;i<=200;i++){
    	BrStr = BrStr + "<br>"
    }
    document.write("Hello");
    document.write(BrStr);
    document.write("World");
    
    </script>
    www.RealisticGraphics.net

    Running VS.Net Enterprise & VB 6

    Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML

    MSN Messenger: kmsheff

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    Thumbs up

    Thanks for the prompt replied RealisticGraphics.

    Have a good one!
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width