I have a button on the ribbon of the contactgrid in microsoft dynamics crm 2011. When I press the button, I'm reading an id from an external device after that i want this id to be paste into the searchbox. So my gridview will be filter automatically on the id read from that device.
But how can I call the searchbox with javascript?
Thanks!
I believe you can access it w JQuery by its html id, like this:
var ctrl = $("#crmGrid_findCriteria");
It is a text input, so you should be able to access it like this:
$("#crmGrid_findCriteria").text('some_text');
I discovered the ID of the control using the IE Developer Tools (F12)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.