...

View Full Version : if function is declare in Javascipt



harry343
04-26-2011, 08:12 AM
if function is declare in Javascipt then how it is call in php please give me an example :)

bullant
04-26-2011, 08:16 AM
That doesn't make sense to me.

PHP code is executed on the server before any html/css/javascript is sent back to the requesting browser.

Javascript is executed in the user's browser after the browser receives it from the server. So php code can create javascript code to be executed when it is received by the browser but not the other way round.

Can you give an example of what you are trying to do?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum