It might be that when you replace the original SELECT tag that the new
one isn't inserted properly into the DOM for firefox to send it back
to the server. I'm not sure how to do that since I don't rewrite
existing forms fields.
On Oct 2, 4:41 pm, Lir <[EMAIL PROTECTED]> 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 "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---