Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums 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