When utilizing a jquery wrapped css selector such as
$($("#selector").find('input[type="textarea"])')
, I am able to input values into the textarea in Chrome using $($("#selector").find('input[type="textarea"]).val(someValue)')
but encounter difficulties with Internet Explorer 11.
Upon inspecting in developer tools, Chrome displays:
[
input style="float: left; width: 70px; height: 21px; margin: 4px 2px 4px 4px;" autocomplete="off" type="textarea" id="jqxWidget15f259b7" class="jqx-widget jqx-widget-energyblue jqx-input jqx-input-energyblue jqx-rc-all jqx-rc-all-energyblue jqx-widget-content jqx-widget-content-energyblue"
]
However, Internet Explorer presents a different output, showing an array of objects:
[object Object]{context: undefined, jquery: "2.1.1", length: 0, prevObject: Object {...}, selector: "input[t
ype=..."}
Is there a way to create a universal jquery wrapper that allows for inserting values into textarea inputs on both browsers?