Syn.type  function     

Types sequence of key actions. Each character is typed, one at a type. Multi-character keys like 'left' should be enclosed in square brackents.

The following types 'JavaScript MVC' then deletes the space.

Syn.type('JavaScript MVC[left][left][left]\b','name')

Type is able to handle (and move with) tabs (\t).
The following simulates tabing and entering values in a form and eventually submitting the form.

Syn.type("Justin\tMeyer\t27\tjustinbmeyer@gmail.com\r")
Syn.type(options, element, callback) -> undefined
{String}

the text to type

{optional:HTMLElement}

an element or an id of an element

{optional:Function}

a function to callback

{undefined}
© Jupiter IT - JavaScriptMVC Training and Support