[jQuery] Setting element type?

2009-05-21 Thread ash.finlay...@googlemail.com
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

[jQuery] setting the style of a div

2009-05-12 Thread ash.finlay...@googlemail.com
Hi All I am just moving over to jquery. Previously i had been using prototype and scriptaculous, im trying to figure out how to set a div relative to another div. in prototype i would of used 'setStyle' to do this. Can anyone give me an example of how to do the same in jquery? Many Thanks Ash