Hi Im trying to call a external JavaScript file called ts.js as follows.
Can some one tell me whether the following approach is right or wrong and reasons for your recommendation.
Thanks you
$variable .= '<input type="submit" name="send" id="send" value="Save" onclick="ts.js" />';