Hello,
I want to disable the location dropdowns on my post item form.
I'm using the Patricia theme, and in the <script> area I have commented out the dropdowns onchange functions, and there was this part..
//DISABLE NAME & EMAIL INPUTS FOR LOGGED IN USER
$('.add_item .seller_info.logged input#contactName, .add_item .seller_info.logged input#contactEmail').prop('disabled', true);
I have added the 2 select boxes into here to look like this..
//DISABLE NAME & EMAIL INPUTS FOR LOGGED IN USER
$('.add_item .seller_info.logged input#contactName, .add_item .seller_info.logged input#contactEmail, .add_item .seller_info.logged select#regionID, .add_item .seller_info.logged select#cityID').prop('disabled', true);
But the select boxes are still enabled. Can any one help me to disable them please.