It would be nice to have an easy way of integrating the use of third party javascript libararies for use in ALL areas of an SC application, as well as exposing the already used libs (like jquery) in an easier to use way, or at the very least DOCUMENT how it can all be tied together. I understand that JS is client-side, but trying to integrate the required HTML code to load the required JS libs and then executing “echo” commands to try and access the function is very frustrating, and in many cases doesn’t work at all, resulting in a blank white page just by trying to LOAD the code on the page, before even trying to call it from a button, etc. Creating php pages outside of SC and loading the html in it and calling code to load js functions seems to work fine, but if you load the same code into an SC application (such as blank or control app) just results in the white screen. Since SC already uses JS in many places there has to be an easier way to make it more accessible. For instance, trying to use the sc_ajax_message call only works on an actual ajax field event, and can’t be used anywhere else on forms to launch a popup message. But if you manually load minimal code into a button calling say a jquery-ui dialog function it works. But trying to use sc_ajax_message as a call from the button php does not, unless I’m totally wrong about all this. There has to be a better way. I really hope some progress can be made in integrating the use of other jscript libraries from within SC without having to jump through hoops to make it work.
Kevin