/ Published in: JavaScript
URL: http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/12/16/call-diff-func-conditionally.aspx
Expand |
Embed | Plain Text
$("#someDiv")[someCondition ? "show" : "hide"]();
You need to login to post a comment.
