[jQuery] Setting element type?

[jQuery] Setting element type?


Hi can anyone tell me how to set the 'type' of an html form element
using jquery?
is there something like?
$("element").type("password");
Many Thanks
Ash