Created
January 28, 2012 12:05
-
-
Save abdul-shajin/1694091 to your computer and use it in GitHub Desktop.
stackoverflow_jquery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".stream-cell").click(function(e) { | |
$(this).parent().find(".stream-cell").children(".more_content").slideDown("slow"); | |
$(this).parent().find(".stream-cell").addClass("open_content"); | |
}); | |
I want to check e is coming from <a> tag or <div> | |
If e is from anchor tag, I want to call some ajax requests, or else, I want to call the existing lines. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment