Store a boolean variable that indicates whether or not to submit the form. Set it to true from the canplay handler.
Store a boolean variable that indicates whether or not to submit the form. Set it to true from the canplay handler: (function () { var shouldSubmit = false; $('#form'). Submit(function(){ var ele=document.
GetElementById('audio'); ele. AddEventListener('canplay',function(){ // do some stuff here shouldSubmit = true; }); return shouldSubmit; }); })(); This will cause that after the canplay event has fired, the form can be submitted. If you want the form to be submitted immediately when the canplay event fires, call form.submit() instead: $('#form').
Submit(function(){ var ele=document. GetElementById('audio'); var form = this; ele. AddEventListener('canplay',function(){ // do some stuff here form.submit(); }); return false; }).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.