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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Any javascript experts out there - dynamically created an iframe URL
I'm new to both Netsuite and javascript. I want to put a Netsuite form on our own website to mask the long netsuite URL from our customers. I'm told the way to do this is to build and iframe into a webpage on our site. However, I need the src URL in the iframe to be dynamic since I want to pass values to the form via the URL.
I've built the following HTML/Javascript:
<html>
<head>
<script language='javascript'>
var str = (location.href);
var start = str.search(/[?]/);
var result = str.substring(start + 1);
var myurl = '
0