I'm loading php file called details.php into my main webpage called main.php using Ajax.
The loaded php file (details.php) contains a link. When clicking it, it calls a javascript function.
Expand|Select|Wrap|Line Numbers
- <a onClick="call_function();">
When I click the link, the page shows this error:
Expand|Select|Wrap|Line Numbers
- Error: 'FLD' is undefined
I searched the net and many people say that I should use EVAL function.
Expand|Select|Wrap|Line Numbers
- <a onClick="EVA(call_function());">
Could you please help me?
Thanks alot.