jquery - javascript scripts won't work and events won't fire without www -


before start, let me using .htaccess adds www doesn't solves problem :-( works "most of times" (it won't work when in front of client)

i have portfolio website. if launch www.mysite.com, javascript runs fine. if launch mysite.com javascript won't run, , events won't fire. example load ajax call portfolio. page load has image onload event attached. onload fires when site called www

the weirdest thing redirect .htaccess doesn't solve problem, reduces occurrence , makes random :-/

could explain me why happens? i've had similar issues in past , never got @ end of it.

thanks million help


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -