On Sun, 2009-07-12 at 10:09 -0700, JannaB wrote:
> As for my observer_field, I don;t follow you when you say the field
> doesn;t exist and will never fire. The field with id of
> 'associate_inoutexplanation' does exist (what am I missing here in
> what you are saying in this regard?) I have enclosed the relevant
> portion of the firebug output which I have copied here:
>
> <input id="associate_inoutexplanation" type="text" value="This is
> Sunday #2" size="30" name="associate[inoutexplanation]"/>
> <input id="associate_submit" class="button" type="submit"
> value="Update" name="commit"/>
> <script type="text/javascript">
> 1
> 2//<![CDATA[
> 3new Form.Element.EventObserver('associate_inoutexplanation', function
> (element, value) {new Ajax.Request('/channels/
> speakassfromwhereaboutspartial', {asynchronous:true, evalScripts:true,
> parameters:'associate_inoutexplanation=' + value +
> '&authenticity_token=' + encodeURIComponent('yE+PvOnafqUVEYfQqxhY/
> ThAvtdW3zoyh+FkXfDLdNo=')})})
> 4//]]>
> 5
> </script>
> </form>
I can't find your original post at the moment but I obviously misread the form.
My apologies.
So what happens in the Firebug console when you change the text in the field?
Repost the code if you like and I'll take another, more careful look.
Best regards,
Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---