jquery does not work in iexplorer
The co开发者_运维百科de below works perfectly in firefox and chrome, but not in iexplorer. Can anyone help me.
$('form').live('submit', function()
{
$(this).ajaxSubmit(
{
target: '#target',
url: acao//'../paginas/addperson.php'
});
return false;
});
The jQuery $.live()
function currently does not support the submit
event.
Supported events are: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup
If you are not dinamically adding forms to your page, there is no need to use live
, you could just use
$("form").submit(function(){
...
})
Or even if forms are added on-the-fly, You attach the above code to individual forms at the time of their creation
精彩评论