When you hit a
You can try something simple like this. This function will be executed when the document is ready (that’s a native web browser event - the page being ready). We typically add all the change handlers at this point. When the document is ready you can query for elements and add change handlers to them as you see fit.
console.log('the page is ready');
Here’s a simple jquery to get the cluster form element by it’s id.
The data that’s available in the
submit.yml.erb is everything that you’ve defined in the form (i.e., you have a
node_type form element, then
node_type variable is available in the