sc_ajax_refresh () error

I am trying to refresh a form using sc_ajax_refresh() called on a Ajax onClick event.

if ({intStatus} == 4)
{
sc_ajax_refresh ();
}

but I get the error : Fatal error: Call to undefined function sc_ajax_refresh()

Anyone have similar proplem?

Yes, actually I tried this and SC says
Fatal error: Call to undefined function sc_ajax_refresh() in /opt/NetMake/v71/wwwroot/scriptcase/app/…

sc_ajax_refresh() works not in forms only in grids. Please look at the documentation and check the macro scope …

Yes, I know already.
Anyway should work everywhere. I can’t imagine any reason to restrict it only to grids.