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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -