Author: kirank28 | Posted on: 3/26/2010 7:28:55 AM | Views : 277

hi,
i m trying to build a register page, which will show username is allready  there or not ?
here is my code plz chk it and let me knw whr its wrong ?




<html> <head> <script type="text/javascript"> $(document).ready(function() { $("#scus_Email").blur(function() { $("#msgbox").removeClass().addClass('messagebox').text('Checking...').fadeIn(1000); $.get("user.aspx",{user_name:$(this).val() } ,function(data) { alert(data); if(data=='no') //if username not avaiable { $("#msgbox").fadeTo(200,0.1,function() { $(this).html('Username already exists').addClass('messageboxerror').fadeTo(900,1); return false; }); } else { $("#msgbox").fadeTo(200,0.1,function() { $(this) ...

Go to the complete details ...