Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Access DOM with code
-
- Posts: 2
- Joined: Sat Feb 27, 2016 11:04 am
Access DOM with code
Hi, sorry, my english is not ggod. Please would someone explain me why in a form in "Extra Action Buttons" tab do not running code like this "var c = document.getElementById("myelement") ("myelement" is valid id of tag);" but something like this "alert ("my alert")" do. Thanks a lot.
Re: Access DOM with code
Pfigueredo,
What are you tring to do with var c = document.getElementById("myelement")?
All you have done is set an object to a variable, unlike alert ("my alert" which displays a message to the user?
Steven
What are you tring to do with var c = document.getElementById("myelement")?
All you have done is set an object to a variable, unlike alert ("my alert" which displays a message to the user?
Steven