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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Div Tag Override Challenge -- Anyone?
Does anyone know if it is possible to override red part of the following tag with an onload call to some javascript from the body tag?
<div id="div__body" class='scrollarea" onscroll="scrollDiv();" style="margin: 0px; visibility: hidden;">
I need to take control of the div__body tag back?
Here is what I have tried:
<script type="text/javascript">
function cc_page(){
if( location.href=='https://checkout.netsuite.com/app/accounting/transactions/transactionlist.nl?Transaction_TYPE=SalesOrd' ){
var myRater = document.getElementById("div__body");
myRater.removeAttribute("style");
myRater.setAttribute("style", "width: 776px;");
myRater.style.cssText = "width: 776px;";
0