このようにプロンプトボックスの入力値を渡すことはできますか?
<script type="text/javascript">
function prompt_box()
{
var naam=prompt("Please enter your name:","Type your name here.")
document.location = 'delete.php?target=' + naam;
}
</script>
または、フォームを使用する必要がありますか?
このようにプロンプトボックスの入力値を渡すことはできますか?
<script type="text/javascript">
function prompt_box()
{
var naam=prompt("Please enter your name:","Type your name here.")
document.location = 'delete.php?target=' + naam;
}
</script>
または、フォームを使用する必要がありますか?