Javascript : DOM string
Javascript : DOM string
- Started
- Last post
- 3 Responses
- tobor
How would you include a variable in a DOM string?
function pooDart(var){
document.form1.var.checked = true;
- gabriel_pc0
What exactly are you trying to do?
- gabriel_pc0
of you want to access a form field designated by the variable it'd be like this:
function pooDart(var) {
document.forms["form1"].elements... = true;
}
- tobor0
good stuff.. thnx