users@woodstock.java.net

Re: getElementById in VWP netbeans6.0

From: UdayUni <udaykiran54_at_gmail.com>
Date: Thu, 2 Jul 2009 23:25:26 -0700 (PDT)

Hi ,

we are Recently using Woodstock in our project and we got the Problem as you
and prakash discussed in this Mailing Archieve.

i.e.,

"In your case, you don't need the init() method. It should work as such.
Did you try debug using firebug to see
what is going on? Firbug gives you the view of final rendered code.

This is what happens in the browser.

Browser receives the data as

<script type="text/javascript">
   // DOJO onload code to dynamically replace the spans below
<script type="text/javascript">




After onload javascript in the body element is called, the spans are
replaced with TextField and Button.
Since you are clicking on the button after seeing the button and
TextField, that means the spans
are already replaced and should work like any other script.

The problem Dan mentions is about javascript code executed before onload
is called. That is
javascript embeded in the HTML itself. In that case it should be
executed with delay to make
sure onLoad() executes first. "


And am also able to see the Components in FireBug but am not able to get
those components in Javascript like jokyog1 .

So please provide me some solution.

Thanks

-- 
View this message in context: http://www.nabble.com/getElementById-in-VWP-netbeans6.0-tp14506244p24318226.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.