A
Andrew Poulos
If I have code that looks like this:
<div id="myID">
<script type="text/javascript">
var foo = function() {
// refer to the id myID here
};
</script>
</div>
how can the function "foo" reference the parent container DIV's id
without me having to hard code it?
Andrew Poulos
<div id="myID">
<script type="text/javascript">
var foo = function() {
// refer to the id myID here
};
</script>
</div>
how can the function "foo" reference the parent container DIV's id
without me having to hard code it?
Andrew Poulos