I'd like to be able to pass in a jQuery object instead of an id but looking at the source code, it attempts to do an <obj>.innerHTML which you cannot do with a jQuery object.
I can easily modify the code to support what I want but wanted to see if anyone had any ideas on how to accomplish this without doing so.
Resig says that when you find yourself using ids everywhere consider using class selectors instead so what would be REALLY nice is if the code allowed the user to specify a selector as a string and then used jQuery to find it.
Thanks,
--adam
I can easily modify the code to support what I want but wanted to see if anyone had any ideas on how to accomplish this without doing so.
Resig says that when you find yourself using ids everywhere consider using class selectors instead so what would be REALLY nice is if the code allowed the user to specify a selector as a string and then used jQuery to find it.
Thanks,
--adam
