• Skip to content

Menu 1

  • Zug
  • Blog
  • Local
  • Printed
  • Projects
  • Railroad
  • Podcasts
  • Newsletter

Thomas Beutel Art

Menu 1

  • Zug
  • Blog
  • Local
  • Printed
  • Projects
  • Railroad
  • Podcasts
  • Newsletter

Follow us

Follow us on InstagramSubscribe to our Channel on YouTubeFollow us on SoundCloud

Category: javascript

AuthorPostedbyThomason January 23, 2015

Datatables in a Colorbox iframe with Selected Row Returned to Parent Window

I recently created a form where one of the questions was asking for a specific code (specifically, a NAICS code). The problem was that there are almost 20,000 codes to …

Read More About: Datatables in a Colorbox iframe with Selected Row Returned to Parent Window

Posted in HTML5, javascript, jQuery, Programming

AuthorPostedbyThomason May 20, 2011

Find a Javascript parent node that matches a certain string

Here’s a small bit of javascript that I use in my Sencha Touch projects to find a parent with an id that matches a string. function findParentNodeRegex(regex, childObj) { var …

Read More About: Find a Javascript parent node that matches a certain string

Posted in javascript, Programming

AuthorPostedbyThomason March 20, 2010

Detecting a click in a checkbox with jQuery

A simple script to detect when a checkbox is clicked. What you do with once you’ve detected the click is up to you. <html> <head> <script src=”http://www.google.com/jsapi”></script> <script> google.load(“jquery”, “1.3.2”); …

Read More About: Detecting a click in a checkbox with jQuery

Posted in javascript, jQuery, Programming

AuthorPostedbyThomason March 19, 2010

Redirect from within a WordPress admin page

I was trying to perform a redirect to generate a CSV file from within a WordPress admin page using the wp_redirect( ) function, but the problem was that I would …

Read More About: Redirect from within a WordPress admin page

Posted in Blogging, javascript, Programming, WordPress

AuthorPostedbyThomason September 15, 2009

Result of expression ‘document.forms[0].submit’ [[object HTMLInputElement]] is not a function.

I was trying to add a small delay into my form submission like so: <form … onsubmit=”setTimeout(‘document.forms[0].submit()’,2000);return false;”> but everytime I tried it, I got the following error: Result of …

Read More About: Result of expression ‘document.forms[0].submit’ [[object HTMLInputElement]] is not a function.

Posted in javascript, jQuery, ProgrammingTagged javascript

© 2026MINIMAL

Follow us

Follow us on InstagramSubscribe to our Channel on YouTubeFollow us on SoundCloud
x