Programmatically triggering events in Javascript for IE using jQuery

后端 未结 6 1030
陌清茗
陌清茗 2021-01-04 19:22

When an Event is triggered by a user in IE, it is set to the window.event object. The only way to see what triggered the event is by accessing the window.

6条回答
  •  时光取名叫无心
    2021-01-04 20:23

    This is how I solved a simlar issue. Wrote an onSelect() handler for the datepicker. link text In that function, called __doPostBack('textboxcontrolid',''). This triggered a partial postback for the textbox to the server, which called the validators in turn.

提交回复
热议问题