Category: >> JavaScript >> Create Filler Text Bookmark and Share

<< lastnext >>

Snippet Name: Create Filler Text

Description: Use this snippet to display text on a page when testing or doing design layout work. Handy way to fill divs and text boxes.

Also see:
» Easily Change Text To Lowercase

Comment: (none)

Author: CoderZone
Highlight Mode: JAVASCRIPT
Last Modified: December 01st, 2010

var fillertext=["Lorem ipsum dolor sit amet", "Ma quande lingues coalesce", "Li Europan lingues es membres"]
function filltext(words) {
  for (var i=0; i<words; i++)
  document.write(fillertext[Math.floor(Math.random()*3)]+" ")
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© | users online: 8