Change an option string to a function [closed]
To do something like that, you would most likely have to use eval() on the text provided … which is a really bad idea. You would be much better off providing a list of check boxes that have different values so the user can choose which items to show your sidebar on. For example: <input … Read more