Hi,
I have problem that, i want to search and highlight a text passed from our main page to the document viewer while loading the page…
i tried to call ‘triggerSearchEvent’ function defined inside ‘searchViewModel.prototype’ but the issue found that this.Element.trigger is not defined…
searchViewModel.prototype.triggerSearchEvent(false, false, undefined, false);
also i tried to invoke the ‘keypress’ event defined inside the ‘search textbox’ but this also failed…
var e = jQuery.Event(“keypress”);
e.keyCode = 13; // # Some key code value
$(“input.input_search”).trigger(e);
how can i solve this problem…
please help me…