Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: sam_paine

“Javascript is loaded and executed when the page is loaded whether you click on it or not. “

Sam, you might want to talk to someone who knows about this stuff(like me). That code will not execute on page load. It’s a link. The js code does not execute until you click it. That link will not change unless someone at FR changes it.


196 posted on 11/17/2010 2:08:06 PM PST by AppyPappy (If you aren't part of the solution, there is good money to be made prolonging the problem.)
[ Post Reply | Private Reply | To 163 | View Replies ]


To: AppyPappy
That code will not execute on page load. It’s a link. The js code does not execute until you click it.

Ok. Here's a test for you. Tell us what the source url of the "like/count" image you see? Is it an img load from the browser html, or an image object from the javascript execution engine? Where/how does the "count" number get rendered? Did I have to click on any of it to have that happen?

Javascript executes immediately when you open the page. What it does or does not do is up to the script author.

202 posted on 11/17/2010 2:58:41 PM PST by sam_paine (X .................................)
[ Post Reply | Private Reply | To 196 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson