I'm going back up a little. How can I create a but...
# suitescript
a
I'm going back up a little. How can I create a button that pulls up an input box with two inputs? I have created the button in a client script and have attached it with a UE script. I'm pulling my hair out trying to figure out how dependencies work in client scripts. If I load a script tag that does not give it to me in a client script. If I have library A that needs library B can I just import both in the script? Why don't I have access to libraries loaded in the browser?
s
If you loaded them onto the page and set them in the window object, then you should be able to access them in the client as well
a
Can you expound more on "set them in the window object"? I'm putting them in a random inlinehtml field.
s
If I load a script tag that does not give it to me in a client script.
what does this mean? what exactly are you missing in the client script?
a
It was coming back undefined but I realize now its a dependency. I'll have to debug more.