Orionsbelter Posted March 26, 2010 Share Posted March 26, 2010 Is it possible to use php to execute a javascript function? Quote Link to comment Share on other sites More sharing options...
mikesta707 Posted March 26, 2010 Share Posted March 26, 2010 as in, call a javascript function in PHP? well remember, you can echo html via the echo statement, so you could do something like //assume js function is called foo echo '<script type="text/javascript">'; echo 'foo()'; echo '</script>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.