var MyNamespace = MyNamespace || {};
MyNamespace.BingMap = {
BingMapCredentials: 'xxxxxxxxx', // should be a default setting (null)
...
JavaScript Convert simple Javascript t...
by Chase Florell,
February 04, 2012 09:12,
3 refactorings, tagged with javascript, jquery, bing maps
$(function(){
$("a").each(function(){
var _this = $(this);
...
JavaScript Rewrite amazon URL's with J...
I use this with dotjs to re...
var date_fmt="yyyy-mm-dd"; ...
JavaScript Modularize jquery code to a...
I want to modularize code i...
$.fn.tatFocus = function () {
console.log("tatFocus", this)
$(this).focus(function(){
...
JavaScript remove text on focus input
remove text on focus input
. . . ...
JavaScript Creating DOM elements in a ...
by https://www.google.com/accounts/o8/id?id=AItOawn4VBTJWio9c9HU8aELBjkIu53LWMVjhqc,
June 19, 2011 13:43,
No refactoring, tagged with jquery, dom, node creation
On the cusp of graduating f...
/*! * * jmodalbox - jQuery Modal box Script ...
JavaScript My first jQuery Plugin
by https://www.google.com/accounts/o8/id?id=AItOawlHbSqDAk7Vx0jfGAq20CmMlIm7u7PJJ8k,
December 30, 2010 05:57,
No refactoring, tagged with javascript, jquery, plugin
This is my first jQUery plu...
var value = $.trim($(this).val()); if ($(this).hasClass(invalidClass)) ...
JavaScript jQuery script: too many ifs...
This is part of a jQuery pl...
<script type="text/javascript">
$(document).ready(function() {
...
JavaScript JQuery - snippet to select ...
by pbarney,
August 02, 2010 23:26,
3 refactorings, tagged with javascript, radio button, input, jquery, select all
These two blocks are virtua...
$(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, ...
// 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...
var getRandomNo = function(seed){
...
JavaScript learn more explodeEffect
by adardesign.myopenid.com,
February 21, 2010 14:51,
2 refactorings, tagged with javascript, random, jquery, ui
This jQuery snippet creates...
;(function($) {
$.fn.extend(
...
JavaScript filter selectbox with 3000+...
This is a little jQuery scr...
$('#page').inlineEdit();
$.fn.inlineEdit = function (opts) {
var options = $.extend({
...
JavaScript edit inplace plugin with wy...
This is based on jquery and...
<!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,
10 refactorings, tagged with http, jquery, rest, put, delete, request
I'm putting together PUT/DE...
// Snippets
function remove_spaces(value) {
if (value == null || value == "") {
...
JavaScript Jquery functions
I`m a beginner with jquery,...
// 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 javascript, jquery
Using the jquery.form.plugi...
// form fields
var address = $("#address");
var zip = $("#zip");
...
JavaScript Perform AJAX request when t...
If three fields (address, z...
<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,
8 refactorings, tagged with jquery, showhide, toggle
hi guys,
i just want to sh...
$('.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,
3 refactorings, tagged with javascript, jquery, select
I get a change event within...
/* 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...
$(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...
$.fn.grow_input = function() {
return this.each(function() {
...
JavaScript Expanding input list using ...
The idea is to have a expan...
I've been working on a simp...