The template file code is as follows:
[Html]
<Table class = "list nowrap itemDetail" addButton = "add position" width = "100%">
<Thead>
<Tr>
<Th type = "lookup" name = "post. code [] "lookupGroup =" post "suggestFields =" post_code "lookupUrl =" _ APP _/Lookup/PostLookup/selectType/1 "size =" 12 "fieldClass =" required "> post code </th>
<Th type = "text" name = "post. name []" fieldClass = "readonly" size = "22" readOnly> post name </th>
<Th type = "calculate" name = "post. nums []" fieldClass = "required" size = "4"> Number of compilers </th>
<Th type = "text" name = "post. remark []" size = "15"> Backup note </th>
<Th onclick = "calculate (this, 1)" type = "del" fieldClass = "refreshAmount"> Delete rows </th>
</Tr>
</Thead>
<Tbody>
<Volist id = "vo" name = "postResult">
<Tr class = "unitBox">
<Td>
<Input type = "hidden" name = "post. id []">
<Input class = "required textInput" value = "{$ vo. post_code} "type =" text "size =" 12 "lookuppk =" id "suggestfields =" post_code "suggesturl =" undefined "suffix =" [] "lookupgroup =" post "autocomplete = "off" name = "post. code [] ">
<A class = "btnLook" title = "lookup back" lookuppk = "id" suggestfields = "post_code" suggesturl = "undefined" suffix = "[]" autocomplete = "off" lookupgroup = "post" href = "/aspireWebstite/Admin/index. php/Lookup/PostLookup/selectType/1 "> search back </a>
</Td>
<Td>
<Input class = "readonly textInput" type = "text" size = "22" value = "{$ vo. post_code | getTableColVal = Post, post_name, post_code} "name =" post. name [] "/>
</Td>
<Td>
<Input class = "required textInput" type = "text" size = "4" value = "{$ vo. post_nums}" name = "post. nums []"/>
</Td>
<Td>
<Input class = "textInput" type = "text" size = "15" value = "{$ vo. post_remark}" name = "post. remark []"/>
</Td>
<Td>
<SPAN style = "COLOR: # ff0000"> <a class = "btnDel refreshAmount" href = "javascript: void (0)"> Delete </a>
</SPAN> </td>
</Tr>
</Volist>
</Tbody>
</Table>
<Table class = "list nowrap itemDetail" addButton = "add position" width = "100%">
<Thead>
<Tr>
<Th type = "lookup" name = "post. code [] "lookupGroup =" post "suggestFields =" post_code "lookupUrl =" _ APP _/Lookup/PostLookup/selectType/1 "size =" 12 "fieldClass =" required "> post code </th>
<Th type = "text" name = "post. name []" fieldClass = "readonly" size = "22" readOnly> post name </th>
<Th type = "calculate" name = "post. nums []" fieldClass = "required" size = "4"> Number of compilers </th>
<Th type = "text" name = "post. remark []" size = "15"> Backup note </th>
<Th onclick = "calculate (this, 1)" type = "del" fieldClass = "refreshAmount"> Delete rows </th>
</Tr>
</Thead>
<Tbody>
<Volist id = "vo" name = "postResult">
<Tr class = "unitBox">
<Td>
<Input type = "hidden" name = "post. id []">
<Input class = "required textInput" value = "{$ vo. post_code} "type =" text "size =" 12 "lookuppk =" id "suggestfields =" post_code "suggesturl =" undefined "suffix =" [] "lookupgroup =" post "autocomplete = "off" name = "post. code [] ">
<A class = "btnLook" title = "lookup back" lookuppk = "id" suggestfields = "post_code" suggesturl = "undefined" suffix = "[]" autocomplete = "off" lookupgroup = "post" href = "/aspireWebstite/Admin/index. php/Lookup/PostLookup/selectType/1 "> search back </a>
</Td>
<Td>
<Input class = "readonly textInput" type = "text" size = "22" value = "{$ vo. post_code | getTableColVal = Post, post_name, post_code} "name =" post. name [] "/>
</Td>
<Td>
<Input class = "required textInput" type = "text" size = "4" value = "{$ vo. post_nums}" name = "post. nums []"/>
</Td>
<Td>
<Input class = "textInput" type = "text" size = "15" value = "{$ vo. post_remark}" name = "post. remark []"/>
</Td>
<Td>
<A class = "btnDel refreshAmount" href = "javascript: void (0)"> Delete </a>
</Td>
</Tr>
</Volist>
</Tbody>
</Table>
An error occurs when you click Delete row after IE is running, but FireFox can be deleted normally. The error message of IE browser is as follows:
Syntax error, unrecognized expression: [href ^ = javascript:]
It is determined that Jquery compatibility is the problem:
Check the problematic code lines in the topic Js file:
If ($ btnDel. is ("[href ^ = javascript:]") {
Changed:
If ($ btnDel. is ('[href = "javascript: void (0)"]') {
The problem is solved.