Javascript in a partial

If I have js in a partial, and my controller calls render :partial =>
'...' will that js then be executed?

js means a javascript file or some js function call ?

~ N A R E N