开发者

jquery, once form submit has complete

开发者 https://www.devze.com 2022-12-09 22:24 出处:网络
Mornin all. I was wonde开发者_StackOverflowring if someone could tell me how i go about activating a function in jquery once a form submit to an iframe has completed?

Mornin all. I was wonde开发者_StackOverflowring if someone could tell me how i go about activating a function in jquery once a form submit to an iframe has completed?

Regards Phil


The form submission can return a javascript block which can call a function in the parent document; eg:

<html><script language="javascript">
  window.parent.document.doSomething();
</script></html>

and inside the doSomething() function you call your jQuery code.

0

精彩评论

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

关注公众号