1 2 3 4
<script type="text/javascript"> $(document).ready(function() { ...
JavaScript JQuery - snippet to select ...
by pbarney,
August 02, 2010 23:26,
2 refactorings, tagged with javascript, jquery, radio button, input, select all
1 2 3 4
$(document).ready(function(){ $('#nav_menu_1').before('<a id="open_all" class="" href="#">Screen reader users can click here to open all menus</a>'); $("#menu_column ul li").not("#menu_column ul li ul li").each(function(){ ...
JavaScript Simple jQuery script - Opti...
Hi, I am pretty new to JS, ...
1 2 3 4
// this is a function that creates with_libraryname functions var lazy_load_library = function (path) { return function () { ...
JavaScript Lazy Library Loading
by raganwald,
February 26, 2010 22:31,
2 refactorings, tagged with javascript, jquery, jgesture, periodicalupdater, lazy loading, lazy evaluation
There are certain libraries...
1 2 3 4
var getRandomNo = function(seed){ ...
JavaScript learn more explodeEffect
by adardesign.myopenid.com,
February 21, 2010 14:51,
2 refactorings, tagged with javascript, jquery, random, ui
This jQuery snippet creates...
1 2 3 4
(function($) { $.fn.SelectedNav = function(options) { ...
JavaScript jQuery plugin: add class to...
by chad.tolkien.id.au,
February 15, 2010 07:03,
4 refactorings, tagged with jquery, plugin, html, website
I'm using this plugin in co...
1 2 3
;(function($) { $.fn.extend( ...
JavaScript filter selectbox with 3000+...
This is a little jQuery scr...
1 2 3 4
$('#page').inlineEdit(); $.fn.inlineEdit = function (opts) { var options = $.extend({ ...
JavaScript edit inplace plugin with wy...
This is based on jquery and...
1 2 3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ...
JavaScript RESTful jQuery PUT/DELETE l...
I'm putting together PUT/DE...
1 2 3 4
// Snippets function remove_spaces(value) { if (value == null || value == "") { ...
JavaScript Jquery functions
I`m a beginner with jquery,...
1 2 3 4
// New function for enviar. $(document).ready(function() { var options = { ...
JavaScript jQuery repeating yucky code
by crungmungus.myopenid.com,
February 18, 2009 11:30,
6 refactorings, tagged with jquery, javascript
Using the jquery.form.plugi...
1 2 3 4
// form fields var address = $("#address"); var zip = $("#zip"); ...
JavaScript Perform AJAX request when t...
If three fields (address, z...
1 2 3 4
<a href="#" class="view-code" >view code</a><a href="#" class="view-code" style="display:none">hide code</a><br /> <div class="tool_block" style="display:none" > <code class="buttons" ><a href="javascript:q=(document.location.href);t=(document.title);void(open('http://mvcforge.com/submit?url='+escape(q)+'&title='+escape(t),'','resizable,location,menubar,toolbar,scrollbars,status'));" title="Submit to MVCForge" alt="Submit to MVCForge"><img src="http://mvcforge.com/themes/mvcforge/images/forge-btn.png" alt="Submit to MVCForge" /></a></code> ...
JavaScript Show / Hide Code in Javascript
by armano.myopenid.com,
February 14, 2009 15:03,
5 refactorings, tagged with jquery, showhide, toggle
hi guys,
i just want to sh...
1 2 3 4
$('.answer_filter').change(function() { var filter = jQuery(this); var select = jQuery('#' + filter.get(0).id); // @TODO find a more appropriate solution ...
JavaScript Get the id of a <select&...
by sebastian.deutsch.myopenid.com,
January 27, 2009 17:19,
2 refactorings, tagged with javascript, jquery, select
I get a change event within...
1 2 3 4
/* I've used a plugin to extend the jQuery object with a jumpsTo method which automatically shifts focus to the specified element once ...
JavaScript jQuery One-Liner
I have a a feeling that the...
1 2 3 4
$(document).ready(function(){ // get the text file to be parsed $.get('test-data.txt', function(textData){ ...
JavaScript Split text into unordered l...
Using jQuery, I'm trying to...
1 2 3
$.fn.grow_input = function() { return this.each(function() { ...
JavaScript Expanding input list using ...
The idea is to have a expan...
1 2 3
<div id="showcase"> <ul class="nav"> ...
JavaScript Tab-Switching in jQuery
Is there a better way?
These two blocks are virtua...