Firefox does not support form submission document. Form. Submit ();
You can set hidden submit buttons in the form,
<Input type = "Submit" name = "Submit" style = "display: none">
The Code is as follows:
<S: Form ID = "jobform" name = "jobform" Action = "/job. Action? Method = Update "method =" Post "theme =" simple "> <Table width =" 100% "cellpadding =" 0 "cellspacing =" 0 "class =" table "> <tr> <TD width = "120px"> job title: </TD> <input name = "job. jobname "type =" text "id =" jobname "value =" $ {job. jobname} "/> </TD> <TD width =" 120px "> job type: </TD> <s: Radio name =" job. jobtype "list =" # {0: 'fulltime ', 1: 'partup', 2: 'internal'} "> </s: radio> </TD> </tr> <TD width = "120px"> industry: </TD> <s: hidden Name = "job. tradeid "id =" tradeid "/> <ul> <li id =" li_select_trace "class =" search_bluebar "onclick =" showtrades () "style =" width: 140px; ">$ {empty tradenames? "Select a career type ": tradenames </LI> </ul> <Div id = "search_field"> </div> </TD> <TD width = "120px"> Work location: </TD> <s: hidden name = "job. placeid "id =" placeid "/> <ul> <li id =" li_select_place "class =" search_bluebar "onclick =" showplaces () "style =" width: 140px; ">$ {empty placenames? "Select work location": placenames }</LI> </ul> </TD> </tr> <TD width = "120px"> education requirements: </TD> <s: Select name = "job. education "list =" # {0: 'Junior high school', 1: 'Senior high school', 2: 'specialists ', 3: 'undergraduate', 4: 'graduate studeny', 5: 'Doctor ', 6: 'others', 7: 'none'} "cssstyle =" width: 60px; "> </s: select> </TD> <TD width = "120px"> working experience: </TD> <s: Select name = "job. experience "list =" # {-1: '', 0: '', 1: 'Year', 2: 'two', 3: 'More than three year'} "cssstyle =" width: 60px; "> </S: Select> </TD> </tr> <TD width = "120px"> salary: </TD> <s: Select name = "job. Salary" list = "# {0: '0 ~ 1000 ', 1: '1970 ~ 3000 ', 2: '1970 ~ 5000 ', 3:' 5000 ~ 10000 ', 4: '2014 +', 5: 'negotiable '} "cssstyle =" width: 60px; "> </s: select> </TD> <TD width = "120px"> deadline: </TD> <input id = "endtime" name = "job. endtime "type =" text "style =" width: 140px "onclick =" wdatepicker ({startdate: 'Current time', datefmt: 'yyyy-mm-dd '}) "value =" $ {job. ymdendtime} "/> </TD> </tr> <TD width =" 120px "> job quantity: </TD> <input name = "job. numneed "type =" text "id =" numneed "value =" $ {job. numneed} "/> </TD> <TD width =" 120px "> </TD> </tr> <TD width =" 120px "> job requirements: </TD> <TD colspan = "3"> <textarea rows = "8" Cols = "70" name = "job. demand ">$ {job. demand} </textarea> </TD> </tr> </table> <Div class = "clear"> </div> <Div align = "center" style =" margin-top: 10px; margin-left: 220px; "> <a href =" javascript: void (0); "onclick =" dosubmit () "> <SPAN class =" job_application "> Update position </span> </a> <input type =" Submit "name =" Submit "style =" display: none "/> </div> </S: Form>
function doSubmit(){document.jobForm.submit.click();}