The Suitelet runs server-side, so one approach is ...
# suitescript
e
The Suitelet runs server-side, so one approach is to write the
object
data as JSON into a custom field, then parse the field in the click handler