jquery - lock the region list? -


I have 2 lists.

Country and Region

I want to lock the area list when I select the country, then I will use jquery to get the area list for that country. But by then, I want to lock the area list and it will be interactive for the first time to get back the area list of that country.

How do I do this with jquery?

Your question is a bit unclear, but it seems that you want to disable a drop-down list Are there. If this happens, you can try it.

  // Disabled code: $ ('select # area'). Attri ('disabled', 'disabled'); // Enable the code: $ (select '# field'). RemoveAttr ('disabled');  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -