Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function proz(){
- var textbox = document.getElementById("nr").value; / nr is editbox
- var div = document.getElementById("proz"); / proz is the transparent div
- if (document.getElementById("nr").value == "a"){ / i tried with if var == "a" but nothing.
- div.setAtribute("id", "proz2"); /here proz 2 is another pink div, trying to overlay first div
- }
- }
Add Comment
Please, Sign In to add comment