Consider the following:
function SomeFunction(item){ $(\'#PackageItemName1\').val(item); }
In HTML I have this button