i'm doing a jQuery.post
to a php file, and the file return's me a value.
the question is: why the $(this)
dosent work in the callback function ?
any alert passing something to show, using $(this)
, return's me null
$(".class").live("focusout", function(){
jQuery.post("phpfile.php",
{
someValue: someValue
},
function(data)
{
// why the $(this) dosent work in the callback ?
}
)
});
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…