I have a client script which runs on cell exit from an editable grid. It works perfectly. But if I try to make it a funtion by saving it as a client script with a simple
function fnDoThis()
{
working script
}
and then on exit fnDoThis(); (to call the script) it doesn't do anything. I can work around it but it's nice to have all the scripts in a more obvious place rather than scattered throughout the solution.
Ideas? Thanks!