Re: Acess Dynamically Created Elements
- From: "bradb" <brad.bonkoski@xxxxxxxxx>
- Date: 28 Feb 2006 10:12:57 -0800
This is the function that gets called to create the checkbox...
function ent_source(num) {
var str = "source_"+num;
var id_field = "src_over"+num;
var replace = "(Source Over?)<input type=checkbox id='"+id_field+"'
onClick='updateField("+id_field+")'>";
document.getElementById(str).innerHTML = replace;
}
And I get an error immediately after clicking the check box saying
something like:
Error: src_over10 is not defined
.
- Follow-Ups:
- Re: Acess Dynamically Created Elements
- From: jshanman
- Re: Acess Dynamically Created Elements
- References:
- Acess Dynamically Created Elements
- From: bradb
- Re: Acess Dynamically Created Elements
- From: RobG
- Acess Dynamically Created Elements
- Prev by Date: Re: Check null or 0
- Next by Date: Re: loading order
- Previous by thread: Re: Acess Dynamically Created Elements
- Next by thread: Re: Acess Dynamically Created Elements
- Index(es):