Possible Duplicate:
Calling PHP Function within Javascript
I have a small JavaScript code in a php file. This JavaScript code runs some logic and in the end should call a php function which is defined in the same php file. How can I do this ? any guidance ?
phpfunctionDeleteEntity( relmod, module, x, 123 )whererelmodandmodulearestringandxis anarray of integerswhich is created in the JavaScript.