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

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

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -