One of the attributes I somehow missed with the HTML5 revolution was the
ping attribute; Other attributes were more popular,
download being one of them. Hell, I just stumbled upon the
ping attribute while reading an old forum post. The
ping attribute of an
a element represents a list of URLs to POST to when the link is clicked.
A sample usage of the
ping attribute would look as follows:
<a href="/checkout" ping="/tracking/going-to-cart">Checkout</a>
I tried writing the POST data to file but the PHP
Have you used the
ping attribute before? If so please let me know what you used it for!
My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...
I'm a big fan of video games. I don't get much time to play them but I'll put down the MacBook Pro long enough to get a few games in. One of my favorites is Portal. For those who don't know, what's...
One of the little known HTML5 APIs is the window.postMessage API.
window.postMessage allows for sending data messages between two windows/frames across domains. Essentially window.postMessage acts as cross-domain AJAX without the server shims. Let's take a look at how
window.postMessage works and how you...