so i have a client Script linked to a suitelet for running functions
suitelet is
var myForm = nlapiCreateForm('my suitelet); myForm.setScript('customscript_myscript'); var testStr = { "mystr" : "show this!" }; myForm.addButton('custpage_mybtn', 'do stuff', 'testingFunc(' + testStr + ')' ); response.writePage(myForm);the customscript_myscript looks likefunction testingFunc (testerstr){ alert('button is for testing.' + testerstr.mystr); }is it possible to pass objects to client script function with the added button? or its just not possible?ive looked and tried various things and changing the parameter format but nothing seems to work.