I have started writing HTML File. Which consists of dropdowns, The Second dropdown will be dependent on 1st dropdown selection and the 3rd dropdown will be dependent on 2nd dropdown so on.
I'm getting the dropdown values through a httpclient call.The response from that call will contains dropdown values of that respective dropdown.
I'm ready with HTML along with jQuery and I have fetched the response by httpclient call using rest client or java code. Now, I don't know how to integrate these.
This is my HTML Code:
<div class="form-group">
<label class="control-label" for="typeOfSchool">Type of Educational Establishment</label>
<div class="select">
<select class="form-control" name="typeOfSchool" id="typeOfSchool">
<option value=""></option>
<option value="a">School Name 1</option>
<option value="h">School Name 2</option>
<option value="b">School Name 3</option>
<option value="c">School Name 4</option>
<option value="d">School Name 5</option>
<option value="e">School Name 6</option>
<option value="f">School Name 7</option>
<option value="g">School Name 8</option>
<optgroup label=""></optgroup>
</select>
</div>
</div>
The Rest Client output response Screen:
If I select School Name 1 then based on that value I should call a httpclient. I'm done with calling httpclient from the rest client or even with java code. Struck to Integrate both in HTML.
Give me some Idea!!! Thanks in Advance.