Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Refactor Coffee Script to fire on page load instead of change

I have a Rails app where I'm trying to select a list of facilities based on what region is selected in a form. So far, I've implemented group_collection_select to do this as well as a bit of ...
nulltek's user avatar
  • 139
1 vote
1 answer
263 views

Conditionally replacing an input field when submitting a form

I just wrote this, and cleaned it up as much as I could. A couple things worry me: I change the scope of $(this) twice (and apparently don't know how to use ...
nickcoxdotme's user avatar