Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Why I can not use 'return' keyword to stop script execution? It should be supported in a javascript function.
Solved! Go to Solution.
Hi,
It's how it works, to return a value you should use var result = "value";
If you want to execute script execution anyway you can use break and block combination:
end: {
// Your code here
// if you want to break here: break end;
// More code here
}
Hi,
It's how it works, to return a value you should use var result = "value";
If you want to execute script execution anyway you can use break and block combination:
end: {
// Your code here
// if you want to break here: break end;
// More code here
}
It works perfertly. Thanks for your information.