For the most-common use case (people using code.jquery.com/jquery.js), this won't work. That URL always links to the latest version, which updates with every new release, hence invalidating the hash (and the developer's website).
You could argue that a well-educated developer should know that and only use this for tagged releases though.