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

These two blocks are virtua...

0918379fbd1d6551c6619f94ef4692e0 Talk
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...

by Gareth, July 22, 2010 10:30, 2 refactorings, tagged with jquery, javascript, cookies

Hi, I am pretty new to JS, ...

A959afc1b4415ada875f4d3eaa889132 Talk
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...

Fd0d54f1856a8c9cc03f2e5de7c4bc6d Talk
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...

Avatar Talk
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...

8cb49c7ceb3bf250a0d470009ac9f047 Talk
1
2
3
;(function($) {
        $.fn.extend(
...

JavaScript filter selectbox with 3000+...

by akarzim, February 03, 2010 23:05, 2 refactorings, tagged with jquery, dom, speed, select

This is a little jQuery scr...

0018abed2b5e8b460993ed915adc0d11 Talk
1
2
3
4
$('#page').inlineEdit();
$.fn.inlineEdit = function (opts) {
    var options = $.extend({
...

JavaScript edit inplace plugin with wy...

by kristian, October 14, 2009 11:02, -3 refactorings, tagged with javascript, jquery, wysiwyg

This is based on jquery and...

Eaf2025323bb63b0befc35491afa618e Talk
1
2
3
<div id="notices">

...

JavaScript jQuery remove warnings.

by lukas, September 04, 2009 14:21, No refactoring, tagged with jquery, remove elements

Hey,

so I have all this ...

A54000a44341dc35ab30a332a49784d3 Talk
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...

by Aupajo, May 27, 2009 00:49, 3 refactorings, tagged with jquery, rest, put, delete, http, request

I'm putting together PUT/DE...

Ca3dc3f93730afb41d6753d8bf010a38 Talk
1
2
3
4
// Snippets
function remove_spaces(value) {
	if (value == null || value == "") {
...

JavaScript Jquery functions

by diegorv.myopenid.com, March 23, 2009 16:35, 4 refactorings, tagged with jquery, javascript

I`m a beginner with jquery,...

Avatar Talk
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...

B6c85faacb1a59a39f31f8820dcbd478 Talk
1
2
3
4
  // form fields  
  var address = $("#address");
  var zip = $("#zip");
...

JavaScript Perform AJAX request when t...

by Chris, February 16, 2009 06:49, 1 refactoring, tagged with jquery, form, ajax, validate

If three fields (address, z...

5d7c8b8f2de06c07b2bf0848d20ce71f Talk
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" >&lt;a href=&quot;javascript:q=(document.location.href);t=(document.title);void(open('http://mvcforge.com/submit?url='+escape(q)+'&amp;title='+escape(t),'','resizable,location,menubar,toolbar,scrollbars,status'));&quot; title=&quot;Submit to MVCForge&quot; alt=&quot;Submit to MVCForge&quot;&gt;&lt;img src=&quot;http://mvcforge.com/themes/mvcforge/images/forge-btn.png&quot; alt=&quot;Submit to MVCForge&quot; /&gt;&lt;/a&gt;</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...

1cd9c8984f2fdeb996130d54d62a98d9 Talk
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...

Bfca16459c82a7836c3d5c8d79f0b640 Talk
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

by Adam Soltys, January 23, 2009 17:53, 7 refactorings, tagged with jquery

I have a a feeling that the...

B4efcc9044b035677a9f61d437e15213 Talk
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...

by keif, January 23, 2009 17:10, 5 refactorings, tagged with jquery, javascript, loop, array, List

Using jQuery, I'm trying to...

802c73427a78116c398cfb6765be9c08 Talk
1
2
3
$.fn.grow_input = function() {
  return this.each(function() {
...

JavaScript Expanding input list using ...

by Billskog, January 04, 2009 09:05, 1 refactoring, tagged with jquery, javascript

The idea is to have a expan...

1d61786256cde4ad5a3afb2f1ff3812b Talk
1
2
3
<div id="showcase">
  <ul class="nav">
...

JavaScript Tab-Switching in jQuery

by Aupajo, November 19, 2008 00:45, 1 refactoring, tagged with javascript, tabs, jquery

Is there a better way?

Ca3dc3f93730afb41d6753d8bf010a38 Talk
1
2
3
4
$.fn.textNodes = function() {
  var ret = [];
  this.each( function() {
...

JavaScript [jQuery] All descendent tex...

by jed, June 29, 2008 07:35, 7 refactorings, tagged with jquery, dom, speed, recursive

This function returns a jQu...

7b72d5a18ab92129692e97a76a153fe0 Talk