$.post(''strutseventname', $('form:first').serialize(),
function(data) {
$('#divId').html(data);
alert('am i visible ' + $('#divId table input).length);
$('#divId table input).click(function() {
alert('i am here');
});
}, html);
when i execute the function
Firstly, your code which you've given has a lot of syntax errors. The
selectors are not all enclosed within '' (single quotes).
Secondly, in my opinion $('#divld table input') will actually result in an
array of inputs (even if length is 1). So you might need to do something
like this :
$('#divId
2 matches
Mail list logo