Skip to primary content
Skip to secondary content

John's blog

Talking about technology (mostly)

John's blog

Main menu

  • Blog
  • About
  • Contact
  • In The Lab With Jay Jay
  • Music
  • Links

Tag Archives: jquery

Post navigation

← Older posts

HTML glow effects

Posted on 2016-06-01 [Wednesday] by Jay Jay

Found some cool glow effects. Couldn’t actually get them to work in my context, but it’s the thought that counts.

Posted in Programming | Tagged effect, glow, HTML, javascript, jquery

Get element or tag name with jQuery

Posted on 2014-08-18 [Monday] by Jay Jay
Reply

To get the element/tag name with jQuery:

 $( '.selector' ).get( 0 ).tagName
Posted in Internet, Programming | Tagged element, HTML, jquery, name, tag | Leave a reply

jQuery htmlspecialchars equivalent to encode text as HTML

Posted on 2014-08-18 [Monday] by Jay Jay
Reply

Found this which said:

$('<div/>').text('This is fun & stuff').html();
Posted in Internet, Programming | Tagged character, encode, entity, henc, HTML, htmlspecialchars, javascript, jquery, php | Leave a reply

jQuery document ready

Posted on 2014-06-02 [Monday] by Jay Jay
Reply

I’m always forgetting the syntax for the jQuery ‘document ready’ event. Which is an embarrassment because it’s so simple:

$( document ).ready( handler )
$().ready( handler ) (this is not recommended)
$( handler )

I used to use the $( document ).ready( handler ) syntax, but starting today I use the $( handler ) syntax.

Posted in Internet, Programming | Tagged document, event, jquery, ready, syntax | Leave a reply

jQuery Validation Plugin

Posted on 2013-07-26 [Friday] by Jay Jay
Reply

Using the jQuery Validation Plugin to validate my web forms… handy!

Posted in Design, Internet, Programming | Tagged jquery, validation | Leave a reply

Preserving whitespace in jQuery .val()

Posted on 2013-07-26 [Friday] by Jay Jay
Reply

Found this article today which had a method for preserving white space in jQuery’s .val() function.

$.valHooks.textarea = {
  get: function( elem ) {
      return elem.value.replace( /\r?\n/g, "\r\n" );
}};
Posted in Design, Programming | Tagged jquery, preserve, whitespace | Leave a reply

Cloning a JavaScript object with jQuery

Posted on 2012-11-20 [Tuesday] by Jay Jay
Reply

Today I heard from John Resig on StackOverflow about how to clone objects using jQuery:

// Shallow copy
var newObject = jQuery.extend({}, oldObject);

// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);

Posted in Programming | Tagged clone, javascript, jquery, object | Leave a reply

jQuery Templating Plugin

Posted on 2012-10-26 [Friday] by Jay Jay
Reply

Today I learned about the jQuery Templating Plugin. Looks like something I’ll want to learn about!

Posted in Design, Internet, Programming | Tagged jquery, plugin, templating | Leave a reply

jQuery.browser

Posted on 2012-03-30 [Friday] by Jay Jay
21

I used the jQuery.browser interface for the first time today to put in an IE hack.

Posted in Design, Internet, Programming | Tagged browser, jquery | 21 Replies

CSS drop down menus

Posted on 2012-03-29 [Thursday] by Jay Jay
Reply

Doing some research into CSS based drop down menus. Found 25 Scripts for Dropdown Navigation Menus. The ones I like the most are All Levels Navigational Menu and particularly jQuery Multi Level CSS Menu #1.

Posted in Design, Internet, Programming | Tagged css, drop down, jquery, menu | Leave a reply

Post navigation

← Older posts

Archives

  • July 2025 (22)
  • June 2025 (51)
  • May 2025 (41)
  • April 2025 (38)
  • March 2025 (16)
  • February 2025 (24)
  • January 2025 (49)
  • December 2024 (27)
  • November 2024 (30)
  • October 2024 (29)
  • September 2024 (26)
  • August 2024 (35)
  • July 2024 (36)
  • June 2024 (23)
  • May 2024 (26)
  • April 2024 (47)
  • March 2024 (39)
  • February 2024 (21)
  • January 2024 (32)
  • December 2023 (45)
  • November 2023 (53)
  • October 2023 (27)
  • September 2023 (40)
  • August 2023 (50)
  • July 2023 (29)
  • June 2023 (19)
  • May 2023 (58)
  • April 2023 (55)
  • March 2023 (42)
  • February 2023 (50)
  • January 2023 (20)
  • December 2022 (19)
  • November 2022 (42)
  • October 2022 (43)
  • September 2022 (62)
  • August 2022 (23)
  • July 2022 (18)
  • June 2022 (32)
  • May 2022 (24)
  • April 2022 (10)
  • March 2022 (30)
  • February 2022 (20)
  • January 2022 (15)
  • December 2021 (27)
  • November 2021 (29)
  • October 2021 (25)
  • September 2021 (17)
  • August 2021 (41)
  • July 2021 (36)
  • June 2021 (21)
  • May 2021 (35)
  • April 2021 (34)
  • March 2021 (55)
  • February 2021 (49)
  • January 2021 (26)
  • December 2020 (13)
  • November 2020 (27)
  • October 2020 (25)
  • September 2020 (13)
  • August 2020 (12)
  • July 2020 (19)
  • June 2020 (16)
  • May 2020 (4)
  • April 2020 (1)
  • March 2020 (1)
  • February 2020 (1)
  • January 2020 (1)
  • October 2019 (1)
  • August 2019 (2)
  • July 2019 (2)
  • June 2019 (5)
  • March 2019 (1)
  • December 2018 (1)
  • September 2018 (1)
  • August 2018 (3)
  • July 2018 (5)
  • February 2018 (1)
  • December 2017 (1)
  • November 2017 (3)
  • August 2017 (3)
  • July 2017 (3)
  • June 2017 (1)
  • May 2017 (14)
  • April 2017 (2)
  • March 2017 (7)
  • February 2017 (3)
  • January 2017 (1)
  • December 2016 (5)
  • October 2016 (2)
  • September 2016 (1)
  • July 2016 (4)
  • June 2016 (5)
  • May 2016 (5)
  • April 2016 (11)
  • March 2016 (2)
  • January 2016 (1)
  • October 2015 (1)
  • September 2015 (8)
  • August 2015 (14)
  • July 2015 (3)
  • June 2015 (9)
  • May 2015 (6)
  • April 2015 (4)
  • March 2015 (6)
  • February 2015 (2)
  • January 2015 (8)
  • December 2014 (9)
  • November 2014 (17)
  • October 2014 (7)
  • September 2014 (5)
  • August 2014 (13)
  • July 2014 (21)
  • June 2014 (22)
  • May 2014 (55)
  • April 2014 (19)
  • February 2014 (1)
  • November 2013 (2)
  • October 2013 (7)
  • September 2013 (7)
  • August 2013 (12)
  • July 2013 (16)
  • November 2012 (24)
  • October 2012 (40)
  • September 2012 (7)
  • August 2012 (9)
  • July 2012 (14)
  • May 2012 (1)
  • April 2012 (9)
  • March 2012 (29)
  • February 2012 (60)
  • January 2012 (96)
  • December 2011 (29)
  • November 2011 (3)
  • October 2011 (8)
  • September 2011 (25)
  • August 2011 (39)

Categories

  • AI (60)
  • Art (104)
  • Asset (141)
  • Book (109)
  • Business (25)
  • Chatter (1,220)
  • Cloud (15)
  • Data (49)
  • Database (46)
  • Design (357)
  • Diary (480)
  • Electronics (704)
  • Games (28)
  • Hackaday (60)
  • Hall of Fame (1)
  • Hardware (514)
  • Homework (25)
  • In The Lab With Jay Jay (204)
  • Inspiration (90)
  • Internet (536)
  • Joke (17)
  • Learning (414)
  • Magic (5)
  • Mathematics (78)
  • Music (27)
  • News (7)
  • Notes (834)
  • Philosophy (152)
  • Privacy (1)
  • Programming (976)
  • Reading (114)
  • Science (72)
  • Software (161)
  • Sys Admin (631)
  • Testing (138)
  • TODO (97)
  • Tribute (8)
  • Video (384)
  • Vocabulary (38)
  • Web (616)
  • Wishlist (45)
  • Writing (74)
  • Xbox (26)

Recent Posts

  • Livin’ the life
  • 2025 One Hertz Challenge: Ham Radio Foxhunt Transmitter
  • How To Become A Top 1% Learner (Full Masterclass)
  • I’m famous!
  • Jcorp Nomad: ESP32-S3 Offline Media Server In A Thumbdrive
July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Jun    

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

  • AI
  • AliExpress
  • amazon
  • apache
  • api
  • arduino
  • bash
  • c++
  • cable
  • ChatGPT
  • code
  • css
  • database
  • debian
  • design
  • electronics
  • error
  • file
  • firefox
  • google
  • hardware
  • HTML
  • http
  • install
  • In The Lab With Jay Jay
  • javascript
  • kde
  • lab
  • linux
  • Mail Call
  • Maxitronix 20in1
  • mediawiki
  • mysql
  • php
  • postfix
  • progclub
  • programming
  • software
  • tools
  • ubuntu
  • unboxing
  • usb
  • web
  • youtube
  • zfs
Proudly powered by WordPress