How to load jQuery in a view form?

I was editing the create view of one of my model and I'm using some jQuery to add some stuff.

The problem is that jQuery is not loaded in the head of the view. How can I tell Yii to load it in that page?




in your action

I think this is enough to add the jquery library

CClientScript::POS_HEAD . Is’n it?

I think this is the default

and I don"t know if this can be changed

anyway thanks thomas, it works :)