jQuery.trigger weirdness
Earlier today, I was trying to use jQuery to trigger the submission of a form after a radio button was clicked. The form tag looked something like: So for a regular submit button: Everything works...
View ArticleiPhone style checkboxes for Symfony
No one worry, I did in fact survive my birthday and subsequent party! Anyway, I was poking around for some cool UI elements for checkboxes and stumbled across this neat jQuery plugin –...
View ArticlejQuery UI confirm
I was looking around earlier for a jQuery plugin to allow me to use jQuery UI’s dialog() widget to popup a confirm dialog. Didn’t have any luck finding one so I whipped something up. It’s not pretty...
View ArticlejQuery: binding DOM events to objects
A few days ago I was working on a project for a client that basically involved allowing a non-technical end user to build arbitrarily complex boolean queries using a UI. The user could basically click,...
View ArticleToggle non-consecutive checkboxes with jQuery UI
You’re all probably familiar with the UI convention of allowing users to select ALL or NONE for a list of checkboxes (like in Gmail). Recently I was working on a project that had a large table full of...
View ArticleCustom Templates with jQuery File Upload
Recently I was working on a project which was using the jQuery File Upload Plugin to do multiple file uploads. I needed to show the progress of each upload (in this case just images). Looking through...
View ArticleJavascript: Using Bootstrap tooltips with jQuery UI’s slider
Earlier today, I was adding a “slider” UI element to a project that was using Twitter Bootstrap as well as jQuery UI. Although they weren’t designed to work together, the two projects generally stay...
View ArticleJavascript: Hijacking document.form.submit()
Earlier this week, I was helping a client of ours interface with a 3rd party widget on a site they work with. What the widget basically does is allow the user to input some information which is then...
View ArticleSymfony2: Outputting form checkboxes in a hierarchy
Recently when I was working on a client project we had a bunch of permissions which had a hierarchy (or tree structure). For example, you needed Permission 1 to have Permission 1a and Permission 1b. In...
View ArticleTutorial: Create a HTML scraper with PhantomJS and PHP
This simple tutorial will show you how to create a PhantomJS script that will scrape the state/population html table data from http://www.ipl.org/div/stateknow/popchart.html and output it in a PHP...
View Article
More Pages to Explore .....