Hi railsians, just wondering if anyone has any info on passing
html_options to date helpers?
My problem is that I need to do a select_month, but I need to pass an ID
attribute to the HTML and there are no html_options for those helpers
apparently. The reason why I need to pass the ID is to access it in JS,
and I can’t because of the name of the select is for the hash (ie
“date[month]”), which means it has brackets (my JS skills are rusty,
maybe there’s a way to access it even with that name?