Code One
11-18-2003, 05:34 PM
is it possible to array threw javascript functions, and or names. Meaning : Id like to setup an array that would run threw each specified function name, or name, and would then run each function one by one.
ex. function
<script>
function reset(){
}
</script>
<script>
array func=new array(1)
func[1]="reset()"
</script>
-------------------------
ex. name
<script>
getelementbyid('postit').document.form.value;{
}
</script>
<script>
array func=new array(1)
func[1]="postit"
</script>
<body>
<textarea name="postit"></textarea>
-------------------------
Ok I know my arrays need work, but thats why I am asking you how to do this, I obviously have no clue. Is this possible, and if so, how do I set this up?
thanks
Code One
ex. function
<script>
function reset(){
}
</script>
<script>
array func=new array(1)
func[1]="reset()"
</script>
-------------------------
ex. name
<script>
getelementbyid('postit').document.form.value;{
}
</script>
<script>
array func=new array(1)
func[1]="postit"
</script>
<body>
<textarea name="postit"></textarea>
-------------------------
Ok I know my arrays need work, but thats why I am asking you how to do this, I obviously have no clue. Is this possible, and if so, how do I set this up?
thanks
Code One