Swapper
02-19-2001, 03:13 PM
Hi,
I've got a script table in my database and based upon what inputboxes I have on screen I need to call the proper js functions. I think I have the tables setup properly. Also, some scripts may be called numerous times by different inputboxes and 1 box can call many scripts. I'm using ColdFusion and SQL. Here's what I have so far:
1. I cfoutput all the scripts at the top of the page.
2. I use the onvalidate function on the cfinput boxes and call: #ScriptName# which will call the script.
3. I got this working with one script on the page, but when I tried to run more than 1 script I got a stack overflow error. I run these scripts whenever the user presses the update button.
Any ideas?
I've got a script table in my database and based upon what inputboxes I have on screen I need to call the proper js functions. I think I have the tables setup properly. Also, some scripts may be called numerous times by different inputboxes and 1 box can call many scripts. I'm using ColdFusion and SQL. Here's what I have so far:
1. I cfoutput all the scripts at the top of the page.
2. I use the onvalidate function on the cfinput boxes and call: #ScriptName# which will call the script.
3. I got this working with one script on the page, but when I tried to run more than 1 script I got a stack overflow error. I run these scripts whenever the user presses the update button.
Any ideas?