こんにちは、以下はモーダルの私のdivです。このコードなしでモーダルを開くと、モーダルはdocument.write( webcam.get_html(320, 240) );
正常に開きますが、上記のコードを配置すると、新しいページが開き、document.write
そのページにコンテンツが表示されます。次の div を変更してdocument.write( webcam.get_html(320, 240) );
、モーダルの内側を表示する方法を教えてください。ラップトップなどのWebカメラを実行するjpegcamプラグインのコマンドですが、簡単なテキストを入れて、新しいページにabcdを表示するモーダルを開くwebcam.get_html(320, 240)
ことも試しました。document.write( "abcd");
親切に助けてください、ありがとう、
<div style='display:none' id="modal-content">
<script language="JavaScript">
document.write( webcam.get_html(320, 240) );
</script>
</div>