after you add jquery in your page
$(document).ready(function(){ $("TB_id").change(function () { for (var i = 1; i < $("TB_id").val(); i++) { $("dropdown_id").add("<option>"+i+"</option>"); } }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)