jQueryPlugins icon indicating copy to clipboard operation
jQueryPlugins copied to clipboard

Error with empty TextArea in firefox

Open erikzaadi opened this issue 14 years ago • 0 comments

In Firefox, when you try to print an area containing an empty textarea, line 131 this.firstChild.textContent = value; throws an error: Error: this.firstChild is null Source File: jquery.printElement.js Line: 131

Checking for the value helped in my case: if ($.browser.mozilla && value!=="")

Stef (http://plugins.jquery.com/node/13503)

erikzaadi avatar Mar 05 '10 07:03 erikzaadi