Hi.
I got a problem with some Post variables that are missing after calling an ajax method. I got the following form:
[code=html]
<form action=”action.php” method=”post”>
…
<span id=”id1″>
<select id=”sid1″ name=”sid1″ size=”1″ onChange=”ajaxMethod(this);”>
<option value=”-1″>Choose x before…</option>
</select>
</span>
…
</form>
If i push the submit button without changing the value of the select box, i can see the variable
[CODE]$_POST[‘sid1’]
But if i change the value of the select box and something like the following results
[code=html]
<form action=”action.php” method=”post”>
…
<span id=”id1″>
<select id=”sid1″ name=”sid1″ size=”1″ onChange=”ajaxMethod(this);”>
<option value=”1″>1</option>
<option value=”2″>2</option>
<option value=”3″>3</option>
</select>
</span>
…
</form>
and then i try to submit the form, the variable
[CODE]$_POST[‘sid1’]
is missing.
Can somebody give me a hint what i am doing wrong?
Thx