1

I have two combos in my jqGrid. One has the listing of Countries and the other has the listing of states of that country. I want a system where when I change the Countries combo the corresponding value of that Country's State will construct the second combo.

Is a detailed example available?

halfer
  • 19,824
  • 17
  • 99
  • 186
Tareq
  • 1,999
  • 2
  • 28
  • 57
  • 2
    Look at [the demo](http://www.ok-soft-gmbh.com/jqGrid/EditWithDependendSelects.htm) from [the answer](http://stackoverflow.com/questions/6495172/customizing-the-add-edit-dialog-in-jqgrid/6499309#6499309) or at [the another demo](http://www.ok-soft-gmbh.com/jqGrid/DependendSelects3.htm) from [another answer](http://stackoverflow.com/questions/4469650/jqgrid-incorrect-select-drop-down-option-values-in-edit-box/4480184#4480184). I hope it's want you need. – Oleg Oct 03 '11 at 09:53
  • @Oleg thanks a lot. This is my Answer. – Tareq Oct 03 '11 at 12:02
  • You are welcome! You can use voting of helpful answers by the way. The answers with higher voting will be easy found by other people. Voting of comments help not for searching. – Oleg Oct 03 '11 at 12:09
  • @Oleg How can I vote on your answer where you just comment. Please make an answer and let me vote on that answer. – Tareq Oct 03 '11 at 16:41
  • I mean the *original* answers which I referenced and which you could not found yourself. The problem is not my reputation which I can't use in any way. The voting is the most important searching criteria. The questions with low voting will be almost no time be found. – Oleg Oct 03 '11 at 16:55
  • I will remember your suggestion. voting the correct answer. – Tareq Oct 03 '11 at 17:08

1 Answers1

1

With thanks for Oleg and to help others who are searching the same solution, the solution is as follows.

Look at the demo from this answer, or at the another demo from another answer.

halfer
  • 19,824
  • 17
  • 99
  • 186
Tareq
  • 1,999
  • 2
  • 28
  • 57