function EditAge() { var lblStudAge = $('#Age').html(); var dropDownStudAge = '<select id="ddlAge">'; for (var count = 10; count <= 25; count++) { dropDownStudAge += '<option value="' + count + '"selected>' + count + '</option>'; } dropDownStudAge += '</select>'; $('#Age').html(dropDownStudAge); $('#ddlAge').val(lblStudAge.split(' ')[0]); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)