You can use eval function :
an example and how to use
http://www.devguru.com/technologies/javascript/11460.asp
~N A R E N
On Sat, Jun 20, 2009 at 1:54 PM, Davis wrote:
>
> Hello;
>
> i want pass a JS function name into a function and call it.
>
> babababa
>
> function ajax_loadpage(x_func)
> {
what kind of validations are you using and on which event use for validation
?
~ N a R e N
On Tue, Jun 9, 2009 at 8:48 PM, philco wrote:
>
> Wondered if anyone could help out. my form is set up to send an email
> on submission, and is working correctly. But when i add the
> validation, the redi
really wanna get messy and have variables like you listed
>
> you could echo it out through php script or do an asp response.write
>
> however that uses up server side memory to generate JavaScript on run time.
> so i woul say Array or Object :)
>
>
> On Tue, Jun 9
try to use object like this:
var myObject={};
var count=10;
for(var i=0;iwrote:
> sorry i had a syntax error
>
> heres the code
> see just declare an array
> declare the maximum number you want
>
> then loop through them one by one asigning a number to each one :)
>
>
> var myVar = new Array();
4 matches
Mail list logo