Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for calling javascript function from php

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Oct 10, 2012 at 6:15 answer added Thom Porter timeline score: 0
Oct 10, 2012 at 6:13 vote accept user1334130
Oct 10, 2012 at 6:04 comment added Arkadiusz 'flies' Rzadkowolski It makes perfect sense. You can execute it in THE SAME "<script>" scope before function is declared, but not in the <script> tag that happens before second one pops in.
Oct 10, 2012 at 6:02 comment added user1334130 But that doesn't make sense, I tested this but placing a run(); inside the javascript before the function was defined and it still called the function correctly.
Oct 10, 2012 at 6:02 answer added NullPoiиteя timeline score: 5
Oct 10, 2012 at 6:01 answer added DarkLeafyGreen timeline score: 19
Oct 10, 2012 at 5:59 comment added Arkadiusz 'flies' Rzadkowolski You must execute function after it was declared. In the above example you execute undefined function.
Oct 10, 2012 at 5:57 history asked user1334130 CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /