<div id ="instant-view">
<textarea id="upload-data-text" placeholder="Copy & paste your data here"></textarea>
</div>
<script>
$("#instant-view").hide();
</script>
这里的 id“#instant-view”没有隐藏,我没有明白出了什么问题。 不过我正在使用jquery
最佳答案
关于javascript - 尝试 .show() 和 .hide() 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22602935/