dev@woodstock.java.net

Re: [nbusers] document.getElementById no more work in Netbeans 6.0 VWP beta 2

From: Winston Prakash <Winston.Prakash_at_Sun.COM>
Date: Thu, 25 Oct 2007 08:01:57 -0700
Dan/Rick,

Do you have an answer for this. Looks like this is a real blocker for this user (filed couple of P1 bugs against VW)

Since NB Beta2 uses woodstock build #14, any thing changed recently in this regard.

- Winston
Hi, there
 
In Netbeans 5.5.1 & Netbeans 6.0 VWP beta 1, we can use below javascript to get the value of a component.
 
var xx = document.getElementById("form1:idxx");
alert(xx.value)

 

However, in Netbeans 6.0 beta 2, it will display "undefined".

 

Is it caused by an upgraded Dojo version in Netbeans 6.0 VWP beta 2?

 

Any suggestion?

 

Best Regards,

 

Wayne

 

 

 

CONFIDENTIALITY NOTE : The information in this e-mail is confidential and privileged; it is intended for use solely by the individual or entity named as the recipient hereof. Disclosure, copying, distribution, or use of the contents of this e-mail by persons other than the intended recipient is strictly prohibited and may violate applicable laws. If you have received this e-mail in error, please delete the original message and notify us by return email or collect call immediately. Thank you. HTC, Corporation