I am submitting some of my forms using javascript / jquery.
$("#myform").submit();
this works fine in Firefox, but none of my form values are hosted in Safari or Chrome.
When I check the $ _POST variable, it populates correctly in Firefox, but on safari / chrome the values of $ _POST are empty.
I post this when the OK dialog buttong gets a click (works fine in FF)
$("form#form_add_file_to_theme").submit();
this is my form (the surrounding div becomes the .jQuery UI dialog box)
<div id="modal_create_themefile" style="display:none;">
<form action="" id="form_add_file_to_theme" name="form_add_file_to_theme" method="post">
<div class="field">
<label for="var_template_name">File name</label>
<input type="text" class="text" id="var_template_name" name="var_template_name" />
</div>
<div class="field">
<label for="var_template_type">File type</label>
<select id="var_template_type" name="var_template_type">
<option value="css">CSS</option>
<option value="include">Partial</option>
<option value="js">Javascript</option>
</select>
</div>
</form>
</div>
printing $ _POST in php gives:
Array ( [var_template_name] => [var_template_type] => css )
so the select box is sent, not text boxes ...
UPDATE: value = "test", , . ( ) , webkit. Chrome Safari "" "" .