How do I add a body onload javascript function for a create content page in drupal?

Posted by Nikhil on Stack Overflow See other posts from Stack Overflow or by Nikhil
Published on 2010-03-15T04:29:11Z Indexed on 2010/03/15 4:39 UTC
Read the original article Hit count: 244

Filed under:

I want assign certain values to some of the cck fields through Java script while the form is loaded. I think it is best to use the body/ form onload attribute. But how do i define that in drupal? Could someone help me with this or a better solution?

© Stack Overflow or respective owner

Related posts about drupal-6