• Calling Javascript functions from PHP
    33 replies, posted
[QUOTE=djjkxbox360;44828165]Well I didn't know he was using a useragent string spoofer did I? I've seen Opera come up as Safari and other browsers come up wrong (without using a useragent spoofer)[/QUOTE] [QUOTE=supersnail11;44817895]Yes, he's browsing on Internet Explorer on a Wii.[/QUOTE] uhm This was your hint. Hanlon's Razor is a thing. The simplest explanation is probably the correct one.
[QUOTE=elixwhitetail;44828213]Hanlon's Razor is a thing. The simplest explanation is probably the correct one.[/QUOTE] That's Occam's Razor. Hanlon's Razor is "Never attribute to malice that which is adequately explained by stupidity."
[QUOTE=supersnail11;44829541]That's Occam's Razor. Hanlon's Razor is "Never attribute to malice that which is adequately explained by stupidity."[/QUOTE] You're right, that's my dumbass fault for trusting Google search summary snippets to confirm my memory. I knew about both of them, I just had them confused and didn't click through to confirm. :v:
[QUOTE=Shadaez;44817566]i guess that's the right way, i've never used the method of putting it at the end of the html, just figured after body made the most sense you're supposed to put it right before the </body> apparently[/QUOTE] Yes because your DOM isnt finished loading so if you call a div after you loaded the script it wont find it, because you loaded the script before you made the call.
Sorry, you need to Log In to post a reply to this thread.