Thank for helping out.
First yes I ran the generator and I'm getting all the jquery stuff loaded
fine.
I'm now getting the following in the HTML page
<select id="project_select" name="project_select">
<option value=""></option>
<option value="1">100 - test</option>
<option value="2">101 - Test 2</option>
<option value="4">300 - test3</option>
</select>
<script type="text/javascript">
//<![CDATA[
new Form.Element.EventObserver('project_select', function(element, value)
{new Ajax.Request('/projects/select', {asynchronous:true, evalScripts:true,
method:'GET',
onComplete:function(request){$("#project_select").hjq_spinner("remove")},
onLoading:function(request){$("#project_select").hjq_spinner({message:
"Loading..."})}, parameters:'id='+value + '&authenticity_token=' +
encodeURIComponent('QZzA/Xm3YTrsO0Hz85AXbvovDJGLa1T6YKi/dQ/oybE=')})})
//]]>
</script>
It all looks good to me except the observer is never firing off. I change
the selection list and nothing happens.
Bob
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/FjmGdIqE-MwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.