Any gotchyas when attaching a client script UE? I'...
# suitescript
a
Any gotchyas when attaching a client script UE? I'm attaching the client script before load, but my pageInit code doesn't seem to be executed.
e
Client events will only fire in EDIT mode, not VIEW mode.
a
I thought attaching with a UE would get around that.
How else can I execute client side js on view?
e
You can still execute client side JS this way, but the native events only fire in EDIT mode.
a
Ah I see, thanks for the clarification
1
t
@Alan Fitch i've seen people use form.addfield and create an inlinehtml field, then use the default value to set some client side js code, i do recall seeing it used in some jquery stuff... maybe window.nlapi is a possibility too?