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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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