Dear All,
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.
This function body exists in the main webpage (main.php):
When I click the link, the page shows this error:
and there is no varaible called FLD in my code.
I searched the net and many people say that I should use EVAL function.
but, also it dosen't work.
Could you please help me?
Thanks alot.
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.
Code:
<a onClick="call_function();">
When I click the link, the page shows this error:
Code:
Error: 'FLD' is undefined
I searched the net and many people say that I should use EVAL function.
Code:
<a onClick="EVA(call_function());">
Could you please help me?
Thanks alot.
Comment