View Single Post
Old 10-09-2012, 01:57 PM   PM User | #5
msurya
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
msurya is an unknown quantity at this point
Thanks for the reply.I have tried the same, giving the <script> in .js file. I want to get the list of countries given in the <option> tag through MVC.

Country:
<td><form:select path="countryId" id="cld" name="cld" items="${countryList}" onchange="statesSelected();">
<formption value="-1" label="--- Select ---"/></form:select></td>

State:
<td><form:select path="stateId" id="sId"><formption value="-1" label="--- Select ---"/> </form:select></td>
<td id="stateError" style="margin-left:120px;color:red;"></td>[/QUOTE]
msurya is offline   Reply With Quote