开发者

adding functionality to a textbox

开发者 https://www.devze.com 2023-01-22 19:02 出处:网络
i want to load a page after a textbox looses its focus.But it not working. What is wrong in it? $(function() {

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");
    }开发者_JAVA百科);
});   


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?

0

精彩评论

暂无评论...
验证码 换一张
取 消