magento set drop down as readonly not working -


i need set drop down readonly. put as;

<select readonly="readonly" name="name" > <option>1</option> <option>2</option> <select> 

but not working. since readonly, can change drop down value.

please help.thank you.

the select tag doesn't have readonly attribute. have disabled.

the problem disabled form inputs don't included in post / data.

to around this, add hidden input same name , value.


Comments

Popular posts from this blog

python - Overwriting the save method of a Django model -

java - how to browse all messages from 2 different MQQueue in the same function? -

How to run C# code using mono without Xamarin in Android? -