Member since 10/01/2010

3 snippets

985 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

lamebollock's Recent SnippetsTagged jquery

« Prev 1 Next »
Cache control when pulling in scripts, redefined "getScript" function
0 379 posted 10 years ago by lamebollock
$('li.current_sub').prevAll("li.par_cat:first"); Tested it with your markup: $('li.current_sub').prevAll("li.par_cat:first").text("woohoo"); will fill up the closest previous li.par_cat with "woohoo".
1 411 posted 10 years ago by lamebollock
Description: If this method is called, the default action of the event will not be triggered. For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by...
1 359 posted 11 years ago by lamebollock
« Prev 1 Next »