I have something similar to the above code but I need to change the top parent to a onclick event. Is there a way to do this without re-writing the whole code?




$("#links li").mouseenter( ->...