i use a registration form in that when user enter a username
if a username is already available i notify using ajax thats not problem
my problem is if a username is already available i want to notify the user where """type new username"
how to code for this in javascript or c#
thanks advance

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 8, 2014, 2:18 AM EST
in the success function of ajax call,
function(result) {
$('.duplicate-message').text('User exists').show();
}