Very useful, good post. This uses jQuery, so it might be more appropriate to save it as a jQuery snippet rather than straight JavaScript.
Good point. I was going back and forth on that. Honestly, I should have removed jQuery but I wanted the example to be somewhat practical. Thanks for the feedback! :)
It'll make a nice addition to our growing query section.
Good point. I was going back and forth on that. Honestly, I should have removed jQuery but I wanted the example to be somewhat practical. Thanks for the feedback! :)