Passing Extra Data To JQuery Ajax Callback Functions

While working with a form that needed ajax handling I ran into an issue. The system I was developing was extremely likely to cause multiple of the same form on the page, one per element. Trying to find and adjust the form post ajax was starting to involve the addition of ids, moving down the dom to move back up, etc. Just nasty, and totally inefficient. So I did a bit of digging to find a way to pass the initial jQuery $form element from the ajax kickoff into the resulting callbacks.

Tags: 

Using HTML 5 Inputs in Drupal 7 Through Theming

I'm putting together a feedback form for a client today in Drupal. I've been experimenting with ways to improve the form's efficiency, just general UX. One of the sticking points for me was the complete lack of simple support for HTML 5 input types in Drupal 7. Thankfully this is fixed in Drupal 8. But for those of us needing to work today, here's an easy solution.

Tags: 

HTML Download Attribute - SSL Gotcha

I ran across a nifty QA issue today. It's certainly a fringe case, but I found no documentation about it anywhere.

Tags: 

Automated End To End Testing for Angular

I first learned protractor for use in end to end (E2E) testing for bigshotbracket.com. That was a savage crash course, with a lot of mistakes. My latest project has given me a chance to review how I implemented that testing, and improve on it. I finally feel like I understand it well enough to share with confidence that I'm doing things correctly. So I'll expand on the concepts from the official tutorial and it's limited handling of page abstractions.

Tags: 

Pages

Subscribe to Fragmented Thought RSS