marioestrada/jQuery-Watermark — Issue #7: When loaded in <head>, doesn't mark up .jq_watermark elements
Author: matthias-b
Created: 2012-02-24 00:59:49+00:00
State: open

When the script is loaded as a

, the statement
```javascript
$('.jq_watermark').watermark();
```
has no effect on elements with class jq_watermark, as the page has not yet loaded.

If this is instead called on document.ready, it works both inline and in

.
```javascript
jQuery(function() { $('.jq_watermark').watermark(); });
```