Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Portlet onclick event handler problem
I am trying to build a custom HTML portlet that will show weather data for a specific latitude/longitude value. I have all the API data and everything is ready to go. The problem I am having is with getting the user's input. I have a textbox that I want the user to input their address, which is geocoded into a lat/long pair and from there we get the weather data. The problem is with the button onclick event handler. It is not firing, I have tried every method to attach the event handler, using the HTML element onclick="", using jquery's
0