javascript - JS trigger event on window.parent from iframe with timeout -


I'm tyring to trigger a program to trigger a button on the window to expire 2 seconds Click on iframe using jquery with

My In-Earm button:

  & lt; Input id = 'submit' type = "submit" name = 'submit' value = "save" & gt; Click   

Jquery Event:

  $ ("# submit") (function () {window.parent.setTimeout (function () Some stuff ....}, 2000);}); Well, it's working with Safari 7.0.3 and Chrome 34.0.1847.116 meters, but in Firefox 28.0 and in my current version IE11, I have no chance of working on it.  

Does anyone know the trick?

First of all, are you okay with just allowing the latest browsers?

In that case you can use a post message, one click, you wait for 2 seconds, then send a message so that parents ask them to trigger the incident. It works only if you have control over both.

If this question goes into more details then I can do it above.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -