Calling PHP function from Javascript Function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joytun Nur
    New Member
    • Mar 2011
    • 5

    Calling PHP function from Javascript Function

    There is a function In PhP That Return A variable.I want to call that function from a Javascript function that is called by onchange eventof a select Input box.Now I need to Pass that php Variable To the caller, i.e Javascript Function and assigned it in a variable. How Can I do That.


    Joytun
  • Mayur2007
    New Member
    • Aug 2007
    • 67

    #2
    Hello,

    Its not possible. Instead use ajax & PHP.

    Regards,
    Mayur Bhayani

    Comment

    Working...