

If that could be done, and if this also is possible. To summarise, i would like the above Javascript code to execute automatically upon pageload of this PHP file.

The current button i which is what i want to load automatically in the PHP file is located here, to test the functionalilty just click "Share" button in blue. The Javascirpt is the Facebook Share button that basically allows users that have Facebook to share the page there currently on in their Facebook status by pressing the button, but if there not logged in it shows the login page, not a problem just continue the script. I would like to embed this Javascript code in to a PHP file and then for it to run automatically upon the PHP file loading: I don't know if this can be done in Javascript, or requires any other language but i was wondering if this would be possible. help me to write the solution into a script file Can someone help me to write a code to autoclick the following codes?
