in jquery-1.3.2.js.
$('#jump').live('change', function() {
alert(1);
});
live don't support 'change' event.
2009/8/3 David .Wu chan1...@gmail.com
got it, I need to define it again after I use ajax, it will be more
safe.
On 7月31日, 下午3時25分, rupak mandal
got it, I need to define it again after I use ajax, it will be more
safe.
On 7月31日, 下午3時25分, rupak mandal rupakn...@gmail.com wrote:
hi David, you have to bind jump in load callback function.
$(function() {
$.ajaxSetup({
cache: false
});
hi David, you have to bind jump in load callback function.
$(function() {
$.ajaxSetup({
cache: false
});
$('#btn').click(function() {
$('div:first').load('b.html',function(){loadCallback();});
});
});
function loadCallback()
{
Hi,
live does not support the 'change' event yet, read here :
http://docs.jquery.com/Events/live
it works on some browsers (FF) but not on all, IE does not fire the
event.
Using the livequery script could solve the problem:
$('#jump').livequery(function() {
$(this).change(function() {
4 matches
Mail list logo