Is it possible to call a php function from within a javascript function somehow? Thanks!
javascript is clientside and php is sever side. Therefor the only way to do this would be to create a form with a hidden value that will trigger the function want and then use the submit method of javascript to submit the form.