lamebollock


Member since 10/01/2010

3 snippets

2534 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

lamebollock's Recent SnippetsTagged jquery



« Prev 1 Next »
Cache control when pulling in scripts, redefined "getScript" function
0 938 posted 13 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 875 posted 13 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 877 posted 14 years ago by lamebollock
« Prev 1 Next »