Note that there are some explanatory texts on larger screens.

plurals
  1. POFirefox automatically closing form straight away
    primarykey
    data
    text
    <p><strong>EDIT : Fixed, I just removed the tables and made it tableless, it will require abit of css to sort the layout but is working cross browser, thank you everyone.</strong></p> <p>I have a really weird issue, I'm trying to do a AJAX quick order form in oscommerce. All is going well apart from this code:</p> <pre><code>while ($sql_results = tep_db_fetch_array($sql_query)) { $sout2 = "&lt;tr&gt;"; $sout2 .= '&lt;form id="pp'. $sql_results['products_id'] . '" method="get" action="quickorder.php"&gt;&lt;/tr&gt;&lt;tr&gt;'; $sout2 .= "&lt;td valign=\"top\" width=\"100\"&gt;&lt;b&gt;&lt;a href=\"" . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $sql_results['products_id']) . "\"&gt;" . $sql_results['products_model'] . "&lt;/a&gt;&lt;/b&gt;&lt;/td&gt;"; $sout2 .= "&lt;td valign=\"top\" width=\"300\"&gt;" . $sql_results['products_name'] . "&lt;/td&gt;"; //$sout .= "&lt;td valign=\"top\" width=\"100\"&gt;" . tep_image(DIR_WS_IMAGES . $sql_results['products_image'], $sql_results['products_name'], 50, 50) . "&lt;/td&gt;"; $sout2 .= "&lt;td valign=\"top\" width=\"150\"&gt;&lt;input type=\"hidden\" id=\"pid\" name=\"pid\" value=\"" . $sql_results['products_id'] . "\" /&gt;&lt;input id=\"pqty\" name=\"pqty\" type=\"text\" value=\"1\" /&gt;&lt;/td&gt;"; $sout2 .= "&lt;td valign=\"top\" width=\"50\"&gt;&lt;input type=\"submit\" value=\"Add\" /&gt;&lt;/td&gt;"; $sout2 .= "&lt;/form&gt;"; $sout2 .= "&lt;/tr&gt;"; echo $sout2; } </code></pre> <p>This makes firefox close the form tags straight away:</p> <pre><code>&lt;form id="pp266" method="get" action="quickorder.php"&gt;&lt;/form&gt; </code></pre> <p>IE does the forms correctly.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload