search for: loadedin

Displaying 1 result from an estimated 1 matches for "loadedin".

Did you mean: loaded
2012 Jan 11
4
Observe field with jquery in Rails 3.1
I tries to observe a change in a field with jquery in Rails 3.1 in order to be able to implement two cascading select boxes. A a first step I just try to observe a click in a div using jquery I have the following function in a .js file that is loadedin the head section (fieldset is the id of a div) and is displaying a view with the div fieldset $(document).ready(function() { $(''#fieldset'').bind({ click: function() { alert(''Change''); // do something on click }, mouseenter: function() { // do some...