Is there a way to trigger a window.onresize event in a cross browser way? [closed]?

Window. Onresize = function(e){ alert("called"); } window.onresize(); If the browser is using the event object that is passed in, than you can just manulaly recreate that object yourself with the values that it needs. Window.

Onresize( { "whatever" : 1234, "someOtherValue" : "foo" } ).

I can't do that. Their event was added via addEventListener so window. Onresize is actually null.

– missingno Sep 14 at 0:09 is it attached to the body? – epascarello Sep 14 at 0:24 No. It is attached to the window.

– missingno Sep 14 at 3:02 Show the exact code in your question. Thanks – epascarello Sep 14 at 11:49 I don't think you got the point of the question :/ – missingno Sep 14 at 12:16.

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.

Related Questions