Google Answers Logo
View Question
 
Q: Call function in javascript from Text variable ( No Answer,   2 Comments )
Question  
Subject: Call function in javascript from Text variable
Category: Computers
Asked by: oscarantolinez-ga
List Price: $2.00
Posted: 05 Feb 2006 06:52 PST
Expires: 07 Mar 2006 06:52 PST
Question ID: 441685
I have one variable with name to function, I can call this function
from this text varibale?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Call function in javascript from Text variable
From: stolis-ga on 05 Feb 2006 11:18 PST
 
I think your looking for the javascript eval() command.  A simple
search on the web should produce a few samples for you.

-Stolis
Subject: Re: Call function in javascript from Text variable
From: svln-ga on 07 Feb 2006 02:48 PST
 
yes,the eval() function will do

you can refer to http://builder.com.com/5100-6371-5169823.html for
more info on the eval() function

hope this info wil help you

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy