<td>产品名:<select id="prod_name" name="prod"><?php html_listProducts(); ?> </select></td> <td><input type="submit" id="comment_btn" value="添加备注" /></td> </tr> <tr> <td>版本号:<select id="version_name" name="ver"><?php $prodList = dbUtil(GetProdList); html_listVersions($prodList[0], 0); ?> </select></td> </tr> <tr> <td>备注人:<select id="commentor_name" name="commentor"><?php html_listCommentors($prodList[0]); ?> </select> <a href='' id="add_commentor">+</a></td> </tr> </table> </form> </center> <div id="code_info"></div> <script> $(function(e) { get_code_info(); $("td a#add_commentor").click(function(e) { var ret = prompt("Please name the creator:");
<?php include dirname(__FILE__) . "/../util/htmlUtil.php"; html_listCommentors($_POST["prodName"]);