Kod
<script>
function show(test) {
if(test == 'test') {
document.getElementById('content').innerHTML = "<form action='test.php' method='post'><input type='text' name='test'>";
}
}
function show(test) {
if(test == 'test') {
document.getElementById('content').innerHTML = "<form action='test.php' method='post'><input type='text' name='test'>";
}
}
Co zrobić, aby w PHP $_POST przyjęło wartość wpisaną w tego inputa, bo na razie mi to nie działa...