Welcome to the Ranch.
You load jQuery into your page and then don't use it.
To load up a text area with jQuery:
$('#txtDescrepancy').val(partnumber);
Some advice on coding:
Variable names are important, use whole words and spell then properly: textDiscrepancyUse camel case consistently: partNumberUse jQuery: getElementById, createTextNode, and appendChild are low level methods that should not be used when using jQuery (though it's not a bad idea to understand what they do)Learn and use conventional indentation to make your code easier for others to read.