• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem accessing netui:label on javascript

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
whenever i want to access a netui label via tagid the browser always tell me that its a null value or not an object. this is the code im using :

JSP code:
<netui:label value="0.00" tagId="PrimaryC"/>


Javascript code:
document[getNetuiTagName("TestForm", this)][getNetuiTagName("PrimaryC", this)].value = 200.78;

, but using an id attribute allows me to access it :

<netui:label value="0.00" id="PrimaryC"/>

Problem with this the documentation says the id attribute is deprecated and i have to use the tagId attribute.

by the way im using BEA Workshop 8.1. Thank you for any help.
reply
    Bookmark Topic Watch Topic
  • New Topic