Or possibly even $('form1').serialize(), if you don't have a variable at all and you're just using the ID. -- T.J. Crowder tj / crowder software / com
On Jun 6, 11:51 am, "Frederick Polgardy" <[EMAIL PROTECTED]> wrote: > Where is the variable form1 being defined? It's in your function, but I > don't see where it gets its value. A hunch is to try $(form1).serialize(), > since you might have an unextended form object, and IE is less forgiving > about those. > > > > On Fri, Jun 6, 2008 at 5:47 AM, McBlaue <[EMAIL PROTECTED]> wrote: > > > Hi > > > I have a function that works fine in FF but throws an error in IE: > > > <script language="JavaScript" type="text/JavaScript"> > > // <![CDATA[ > > function doSums() { > > new Ajax.Updater('fruit', '../calculators/ > > personal_member_calculator.php', { method: 'post', parameters: > > form1.serialize() }); > > } > > // ]]> > > </script> > > > called thus: > > > <select id="age" name="age" onchange="doSums(); return false;"> > > -- > Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---