views:

36

answers:

1

hi, i want to load a page after a textbox looses its focus.But it not working. What is wrong in it?

$(function() {
    $("#txtBox").blur(function() {
        $('#LoadPage').load("Defult.aspx");
    });
});   
+1  A: 

Make sure that your textbox's ID is set to "txtBox". Could you post the rest of the code, too?

EDIT Like Nick commented below, did you misspell Default.aspx as Defult.aspx?

TheAdamGaskins
yes the id is 'txtBox' for sure. what else code is needed? There is one div whose id is 'LoadPage'
koin
@koin - you sure it isn't `"Default.aspx"`?
Nick Craver
ya sure it is 'Defult.aspx'
koin