Hello,
I have a problem using Ajax with Firefox 2.0 and Firefox 1.0.3 (I don't try other versions).
This code below works fine on Firefox, Opera, Konqueror, Safari, Explorer, etc. without using Ajax:
But when I use Ajax to send this same code and write it on a <div>, doesn't works on Firefox. In the rest of browsers works well.Code:<table border="0" cellspacing="0" cellpadding="6" class="producto_comprar"> <form method="get" action="cesta.php" class="producto"> <tr><td align="left" class="producto_comprar"> <input type="hidden" name="tipo" value="cantidad"> <b>Quantity</b>: <input type="text" name="cantidad" value="" size="3" maxlength="3" class="texto"> </td><td align="left" class="producto_comprar"> <input type="submit" name="agregar" value="Add" class="boton"> </td></tr> </form> </table>
If I change order of the line with <form> tag, like this:
...it works on Firefox but do a break line!Code:<table border="0" cellspacing="0" cellpadding="6" class="producto_comprar"> <tr><td align="left" class="producto_comprar"> <form method="get" action="cesta.php" class="producto"> <input type="hidden" name="tipo" value="cantidad"> <b>Quantity</b>: <input type="text" name="cantidad" value="" size="3" maxlength="3" class="texto"> </td><td align="left" class="producto_comprar"> <input type="submit" name="agregar" value="Add" class="boton"> </form> </td></tr> </table>
The only way to prevent the break line that I found is commenting this line:
I think Firefox with Ajax uses an HTML syntax correction or something like this. But I don't know.Code:<!-- </td><td align="left" class="producto_comprar"> -->
If you are curious, I'm using this wrong order tags for old browsers (with display:inline; for the new) for reasons that don't need to comment (isn't theme of this thread).
Do anyone can help me, please? Thanks
Sorry for my english.





Reply With Quote



Bookmarks