I have a date select field as follows:

Code:
<%= f.date_select (:date_taken_out, {:start_year => 1995, :use_short_month => true,
		:discard_day => true, :include_blank => true, :order => [:month,:year]} ) %>
I need to add some javascript to this as html option but cant work out how to do it. I've tried everything!

I think it should look something like this. You can see the javascript I am trying to add but obviously it does not work.

Code:
<%= f.date_select (:date_taken_out, {:start_year => 1995, :use_short_month => true, :discard_day => true, :include_blank => true, :order => [:month,:year]}, {:onblur=> "$('date_help').fade({ duration: 0, from: 1, to: 0 });" }) %>