javascript method in php method

hi,

you can use a javascript method in a method php?
if I put in a php method a sc_ajax_javascript ("…") i application stops working, is a bug?

You have to consider that the scriptcase functions are NOT php function but more things like smart text replacements.
So if you use sc_ajax_javascript("…") you will see that the generated code is more then just a single line. Check the generated source
of the piece of code where you used this sc_ajax_javascript and you will understand it quickly.

Shows how to call sc_ajax_javascript ("…"), and in what events it can be called.[QUOTE=marcosc;41375]hi,

you can use a javascript method in a method php?
if I put in a php method a sc_ajax_javascript ("…") i application stops working, is a bug?[/QUOTE]