Extends the Element native object to include the convert method to convert an element to another type.
Copies an element with optional properties to a new element and destroys the old.
$('myElement').convert('textarea',['id','name','value']);