using html and javascript [closed]
when clicking on a option in drop down list another sub field must be opened using html and javascript
$("#drop-down").change(function() {
  if ($("#drop-down").val() == "more") { /* Or whatever value you're testing for */
    $("#space-for-new-drop-down").html($("#space-for-new-drop-down").html() +
      "<input type=\"text\" size=\"5\" id=\"second-drop-down\" />"
    );
  }
});
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论