Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Client-side Javascript in HTML Portlet
Hi All,
I've successfully done many client & suitelet scripts, plus 1 or 2 custom portlets. I'm now trying my hand at a custom HTML portlet. The portlet loads correctly, all the HTML is displayed properly, and I am not a noob to HTML or javascript.
I'm trying to provide some additional simple client-side functions without creating new client scripts in NetSuite. The problem I'm having is that these functions contained in the HTML seem to 'unload' from the browser once the portlet has finished loading/refeshing.
Here is an example of my portlet's main function...
function portletMain(portlet, column) {
[INDENT]var htmlString = "<div id='myCustomPortletDiv'>"