简体   繁体   中英

replace not working in IE8

隐藏放置在文本框中的列标题文本,但在 ie8 本身中显示列时,文本不会删除

  $("#hideColumns").html($("#hideColumns").html().replace(selectedItem + "\n", ""));

$("#hideColumns").val($("#hideColumns").val().replace(selectedItem + "\\n", ""));

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM