Topic: Rails 3 and reading the file input field Security Issue?

I've created a faux file div to style our file upload fields to UI Spec. My jQuery scripts work fine in a standard html/php type environement but when using the same code in RoR / Rails 3 I'm finding that the only thing the file input field will allow me to do onchange is alert its value. I can't do any basic DOM scripting based on the onchange of file input field at all. Once again just alerts.

Is this a built in rails security measure? And if so does anyone have a simple work around?