Discussion:
How to know if a string is simply text or a good jQuery expression?
Luca
2010-07-09 13:18:49 UTC
Permalink
Hi all.

I need some suggestion for performing this task: a user using a
function common provide to the function a string, however sometimes he
must be able to provide a jQuery selector expression and I need to
perform different action is this case.

How can I do this?
--
-- luca
Loading...