|
Hi,
I am usng a select drop down list with onchange which renders a new part of a form depending on users choice.
<select name="blockType" id="blockType" onChange="checkBlockType(this)" >
chechBlockType calls a function that uses xmlHTTPRequest which renders the necessary form part.
My problem is that blockType does not maintain it's selected index. It returns to 0 index which is "Select block type ...." value 0. This is messing up my code when form submited as I require the blockType to have value selected. As i would expect , any attempt to re select my choice, merely kicks in the onchange again and again resets.
Any ideas would be appreciated.
cheers
|