Skip to content

Instantly share code, notes, and snippets.

View jorgegit's full-sized avatar

Jorge Romo jorgegit

View GitHub Profile
@jorgegit
jorgegit / knowledges.js.coffee
Created October 19, 2012 15:56
View of the dynamic drop down example with Rails, Coffeescript and jQuery
jQuery ->
$('#knowledge_parent_subject').change ->
selected_id = $('#knowledge_parent_subject option:selected').val()
$.get "/subjects/#{selected_id}/subcategories"