I need a way to change the encoding type for my comment form, without hacking the core files.
I'm aware of the function to work on the post editing form: post_edit_form_tag.
I've tried this:
jQuery('#comment_form').attr("enctype","multipart/form-data");
But it doesn't work, the only next step I know of is to hack the source code... Any help would be very much appreciated—thanks in advance!
jQuery('#comment_form')[0].encoding = 'multipart/form-data';– One Trick Pony Mar 11 at 15:38