Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Simple Java question
I am trying to make a conditional attribute list:
<script language='JavaScript'>
if ("<%=getCurrentAttribute('item','custitemwatts')%>"!="") document.write("<tr><TD width="90" height="16" align="center" valign="middle" nowrap bgcolor="295281"><font color="#FFFFFF">Wattage <%=getCurrentAttribute('item','custitemwatts')%></font></TD></tr>");
</script>
This does not work!
I think you can see what I am trying to do - make a conditional attribute appear subject to it not being = null. I am trying to make the table grow or shrink dependent upon the number of attributeds that exist for a given item. I do not want to make a fixed size table and have blanks.