Home > FillText API
<script src="http://www.filltext.com/js/filltext.js" type="text/javascript"></script>
The current version of filltext.js has two methods.
Method 1: fillhtml(id, paragraphcount, html)
id
type: text
value: id of the element to fill with text
paragraphcount
type: integer
value: number of paragraphs to generate
html
type: boolean
value: true or false, determines whether or not to include "<p>" tags
Method 2: fillinput(id, paragraphcount, html)
id
type: text
value: id of the element to fill with text
paragraphcount
type: integer
value: number of paragraphs to generate
html
type: boolean
value: true or false, determines whether or not to include "<p>" tags