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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -