Hello I want to submit a form that has a select which was updated using ajax.updater My Ajax.updater works fine. The problems is that in FIREFOX don''t recognize or don''t get the name of the select tag and don''t submit the value or option. Inside the form I have a <Div> where ajax.updater will replace the select results. Once it''s updated I submit the form but the select information isn''t post. at least it works fine in IE Thanks in advance for any help. This is the code HTML <form enctype="multipart/form-data" name="uploadt" method="post" action="'' . $form_action . ''" "> <tr><td>Loss Seq</td> <td><div id="lossResult"> <select name="temp"><option></option></select> //AJAX RESULT HERE </div> </td></tr> </form> NEW SELECT - AJAX UPDATER echo "<select name=''submit_loss'' class=''upload''>"; //IT LOOKS GOOD BUT IT''S NOT SUBMITTED echo "<option value=''000'' ></option>"; foreach ($return as $row) { echo "<option value=''$row[LOSS]'' selected>$row[LOSS]</ option></br>"; } echo"</select>"; AFTER I SUBMIT EVERYTHING I WANT TO DISPLAY THE $_POST[SUBMIT_LOSS] that right now I don''t see it . Something like that <tr> <td>Loss Sequence Numbers:</td> <td>''.$_POST[''submit_loss''].''</td>//NOTHING APPEAR HERE </tr> --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Why are you using enctype="multipart/form-data"? You''re not uploading a file. Perhaps this is why. On Oct 2, 4:35 pm, Lir <liriavillami...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello I want to submit a form that has a select which was updated > using ajax.updater > My Ajax.updater works fine. The problems is that in FIREFOX don''t > recognize or don''t get the name of the select tag and don''t submit the > value or option. > Inside the form I have a <Div> where ajax.updater will replace the > select results. Once it''s updated I submit the form but the select > information isn''t post. at least it works fine in IE > Thanks in advance for any help. This is the code > > HTML > <form enctype="multipart/form-data" name="uploadt" method="post" > action="'' . $form_action . ''" "> > <tr><td>Loss Seq</td> > <td><div id="lossResult"> > <select name="temp"><option></option></select> //AJAX > RESULT HERE > </div> > </td></tr> > </form> > > NEW SELECT - AJAX UPDATER > echo "<select name=''submit_loss'' class=''upload''>"; //IT LOOKS GOOD BUT > IT''S NOT SUBMITTED > echo "<option value=''000'' ></option>"; > foreach ($return as $row) > { > echo "<option value=''$row[LOSS]'' selected>$row[LOSS]</ > option></br>"; > } > echo"</select>"; > > AFTER I SUBMIT EVERYTHING I WANT TO DISPLAY THE $_POST[SUBMIT_LOSS] > that right now I don''t see it . Something > like that > <tr> > <td>Loss Sequence Numbers:</td> > <td>''.$_POST[''submit_loss''].''</td>//NOTHING APPEAR HERE > </tr>--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Well before the select tag I upload a file and have more input tags that works fine. I tried anyway without the enctype but it didn''t work. Thanks anyways. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ok, what''s yer ajax code, i think i might have it figured out. On 10/2/07, Lir <liriavillamizar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Well before the select tag I upload a file and have more input tags > that works fine. > I tried anyway without the enctype but it didn''t work. > Thanks anyways. > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Here is my Ajax Code function findLoss() { var url = ''find_loss_seq.php''; var params = ''submit_policy='' + $F(''submit_policy''); var ajax = new Ajax.Updater( {success: ''lossResult''}, url,{method: ''get'', parameters: params, asynchronous:true, evalScripts:true}); } this is find_loss-seq.php $query_loss = "SELECT" . " LOSS_NUM" . " FROM LOSS" . " WHERE POL_NUM = ''". $_GET[''submit_policy'']."''"; $result_query_loss = $this->DB->Execute($query_loss); $return= $this->DB->GetAll($query_loss); echo ''<select name="submit_loss" style="width:136px">''; echo ''<option value="000" > </option>''; foreach ($return as $row) { echo "<option value=''$row[LOSS_NUM]'' selected> $row[LOSS_NUM]</option>"; } echo''</select>''; --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Slightly OT: I hope this is not your real code, you are open for a SQL injection here. You need to remove any bad SQL inserted in ''submit_policy'', eg. by using mysqlspecialchars().> $query_loss = "SELECT" > . " LOSS_NUM" > . " FROM LOSS" > . " WHERE POL_NUM = ''". > $_GET[''submit_policy'']."''";-- "Laut einer Studie der deutschen Ärztevereinigung sterben immer mehr Rentner vor dem Computer. Sie drücken versehentlich die Tastenkombination Alt+Entfernen." http://www.landseer-stuttgart.de http://www.pn-cms.de --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Frank for replay. Well this is my real code and I don''t understand very well what do you mean? I valid the submit_policy before send it to MYSQL but I don''t know if it''s relevant with what you said. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
hrm... i''m not a pt expert... can anyone else say if that is a valid target for the updater? I can''t find any reference to a success event used as a switch like used below... var ajax = new Ajax.Updater( {success: ''lossResult''}, url,{method: ''get'', parameters: params, asynchronous:true, evalScripts:true}); On 10/3/07, Lir <liriavillamizar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Here is my Ajax Code > > function findLoss() > { > var url = ''find_loss_seq.php''; > var params = ''submit_policy='' + $F(''submit_policy''); > var ajax = new Ajax.Updater( > {success: ''lossResult''}, url,{method: ''get'', parameters: > params, asynchronous:true, evalScripts:true}); > > > } > > this is find_loss-seq.php > > $query_loss = "SELECT" > . " LOSS_NUM" > . " FROM LOSS" > . " WHERE POL_NUM = ''". > $_GET[''submit_policy'']."''"; > > $result_query_loss = $this->DB->Execute($query_loss); > $return= $this->DB->GetAll($query_loss); > > > echo ''<select name="submit_loss" style="width:136px">''; > echo ''<option value="000" > </option>''; > foreach ($return as $row) > { > echo "<option value=''$row[LOSS_NUM]'' selected> > $row[LOSS_NUM]</option>"; > } > echo''</select>''; > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
what he means is given $query_loss = "SELECT" . " LOSS_NUM" . " FROM LOSS" . " WHERE POL_NUM = ''". $_GET[''submit_policy'']."''"; the user can alter the url to (and this is just to get the point across I don''t know the %chars to make it work as a real url) yourpage.php?submit_policy=insert into users set `username`=''username'', `password`=''password'',`admin_level`=1 unfortunately I''m not as much of an expert on sql injections as i should be, but i think that gets the general idea across, if you don''t pasteurize that incoming $_GET statement you could be hurting when your site says ''Pwned by n4t0 h4t0rz'' or some crap on it on the main page, and that would be the least of your worries. If your db carries sensitive information you could be looking at not only lost income and security expenses but also lawsuits. On 10/3/07, Lir <liriavillamizar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Thanks Frank for replay. Well this is my real code and I don''t > understand very well what do you mean? > I valid the submit_policy before send it to MYSQL but I don''t know if > it''s relevant with what you said. > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Lir schrieb:> I valid the submit_policy before send it to MYSQL but I don''t know ifObviously not. See http://en.wikipedia.org/wiki/SQL_Injection for more information about this topic. -- "Laut einer Studie der deutschen Ärztevereinigung sterben immer mehr Rentner vor dem Computer. Sie drücken versehentlich die Tastenkombination Alt+Entfernen." http://www.landseer-stuttgart.de http://www.pn-cms.de --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Ajax Updater shows the new values without problems in both IE and Mozilla. But once I send the form to itself it shows nothing in Mozilla. Is like the values weren''t send to the server. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
ok...not sure then but another problem is echo ''<select name="submit_loss" style="width:136px">''; echo ''<option value="000" > </option>''; foreach ($return as $row) { echo "<option value=''$row[LOSS_NUM]'' selected> $row[LOSS_NUM]</option>"; } echo''</select>''; all of your options are being marked as selected when they get returned to the browser. On 10/3/07, Lir <liriavillamizar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Ajax Updater shows the new values without problems in both IE and > Mozilla. But once I send the form to itself it shows nothing in > Mozilla. Is like the values weren''t send to the server. > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I took out the selected from the options but it didn''t work. echo "<option value=''$row[LOSS_NUM]''> $row[LOSS_NUM]</option>"; --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
it''s got to be something easy, I have a site with 3 ajax based select boxes and all of them work just fine. you say you use the form first to upload a file and then again to submit a select box value? and it returns the select box fine, but when you submit the data the second time it doesn''t show the value of the select box? have you tried making a form with just the ajax created select box and submitting the form then? I.e. the submitting of the select box will be the first time the form is submitted. On 10/3/07, Lir <liriavillamizar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I took out the selected from the options but it didn''t work. > > echo "<option value=''$row[LOSS_NUM]''> > $row[LOSS_NUM]</option>"; > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Well not exactly. I send the form just one time. Here is what it does: The user upload a file, enter the policy_number and once the policy_number is enter I call the ajax function (onBlur="findLoss()") to update immediately the select box and then I submit the form to itself. I know it should be something easy but I don''t see it. thanks for your help --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
If your original post is anything like reality, the problem is simply that the submit_loss <select> element is outside of the <form> that is getting submitted. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
maybe you need double quotes around that value attribute, you are echo- ing single quotes around your value, is that even valid html? foreach ($return as $row) { echo "<option value=''$row[LOSS]'' selected>$row[LOSS]</ option></br>"; } and, is that value really being echoed? I''ve had trouble with echo- ing associative arrays inside double quotes. maybe something like this.. echo ''<option value="''.$row[LOSS].''" selected>''. $row[LOSS].''</ option></br>''; btw, is LOSS the name of the array element or a variable holding the name? php is going to take a long time to figure that out.. should have single or double quotes around ''LOSS'' I think... also what about this: new Ajax.Updater( {success: ''lossResult''}, url,{method: ''get'', parameters: params, asynchronous:true, evalScripts:true}); why brackets and the word ''success'' in the first attribute? maybe I''m just not familiar with that syntax.. I would do this: new Ajax.Updater(''lossResult'', url, {method: ''get'', parameters: params, asynchronous:true, evalScripts:true} ); --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Very good point Lisa. It reminded me of what I forgot to ask earlier to the OP.. Do you use Firebug? or Fiddler or some other HTTP Proxy? If so can you verify that there is actually a value SET to each option on the AJAX returned text? a.k.a. verify that the returned text is not something along the lines of: <option value="">Something</option> if it is it would result in the error you are experiencing. On 10/8/07, Lisa B <beforeamillionuniverses-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > maybe you need double quotes around that value attribute, you are echo- > ing single quotes around your value, is that even valid html? > > foreach ($return as $row) > { > echo "<option value=''$row[LOSS]'' selected>$row[LOSS]</ > option></br>"; > } > > > and, is that value really being echoed? I''ve had trouble with echo- > ing associative arrays inside double quotes. maybe something like > this.. > echo ''<option value="''.$row[LOSS].''" selected>''. > $row[LOSS].''</ > option></br>''; > > > btw, is LOSS the name of the array element or a variable holding the > name? php is going to take a long time to figure that out.. should > have single or double quotes around ''LOSS'' I think... > > also what about this: > > new Ajax.Updater( > {success: ''lossResult''}, url,{method: ''get'', parameters: > params, asynchronous:true, evalScripts:true}); > > > why brackets and the word ''success'' in the first attribute? maybe I''m > just not familiar with that syntax.. I would do this: > > new Ajax.Updater(''lossResult'', url, {method: ''get'', parameters: > params, asynchronous:true, evalScripts:true} > ); > > > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Lir, after such a mass of response it took me some time to catch up ;o) Ok here is what I think: You are returning the HTML- Tags from your Script urging Ajax.Updater to add it to your webpage, right? Did you try to return some JSON or XML data using Ajax.Request and create the options by Javascript ?? I think I had a similar problem like you a while ago and solved it that way .. If you are using prototype you might find the following useful: <-- snip --> // var select is the DOM- object of the select- field to be modified // var data is normaly returned from the response script. here it is created by hand to show the structure var data = new Array(); data.push({optText:''Red'', optValue:''red''}, {optText:''Yellow'', optValue:''yel''}, {optText:''Green'', optValue:''gre''}); // add the new options data.each ( function (item){ var option = new Option(item.optText , item.optValue); select.options[select.length] = option; // add an option to the end of the current selection list } ); <-- snip --> I use this to create a set of selection field depending on each other. hope this helps after all lg Bastian On 10/8/07, Brian Williams <brianw1975-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Very good point Lisa. It reminded me of what I forgot to ask earlier to the > OP.. > > Do you use Firebug? or Fiddler or some other HTTP Proxy? > > If so can you verify that there is actually a value SET to each option on > the AJAX returned text? > > a.k.a. verify that the returned text is not something along the lines of: > > <option value="">Something</option> > > if it is it would result in the error you are experiencing. > > > > > > On 10/8/07, Lisa B <beforeamillionuniverses-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > maybe you need double quotes around that value attribute, you are echo- > > ing single quotes around your value, is that even valid html? > > > > foreach ($return as $row) > > { > > echo "<option value=''$row[LOSS]'' selected>$row[LOSS]</ > > option></br>"; > > } > > > > > > and, is that value really being echoed? I''ve had trouble with echo- > > ing associative arrays inside double quotes. maybe something like > > this.. > > echo ''<option value="''.$row[LOSS].''" selected>''. > > $row[LOSS].''</ > > option></br>''; > > > > > > btw, is LOSS the name of the array element or a variable holding the > > name? php is going to take a long time to figure that out.. should > > have single or double quotes around ''LOSS'' I think... > > > > also what about this: > > > > new Ajax.Updater( > > {success: ''lossResult''}, url,{method: ''get'', parameters: > > params, asynchronous:true, evalScripts:true}); > > > > > > why brackets and the word ''success'' in the first attribute? maybe I''m > > just not familiar with that syntax.. I would do this: > > > > new Ajax.Updater(''lossResult'', url, {method: ''get'', parameters: > > params, asynchronous:true, evalScripts:true} > > ); > > > > > > > > > > >-- -- spread the word ... see www.browsehappy.com ;o) Calvin: Weekends don''t count unless you spend them doing something completely pointless. Join the Greater IBM Connection (http://www.xing.com/premiumgroup-6291.d26b7d) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I have a form that works and I drop in form fields via ajax.updater, dropping in the html.. but maybe it works because I''m not relying on the default behavior of the submit button.. on click of submit I serialize the form and then submit that string.. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---