1
我在我的頁面中使用了asp:AutoCompleteExtender
控件。如何在autoComplete彈出時觸發javacript函數?
這裏是控制:
<asp:AutoCompleteExtender ID="txtStreet_AutoCompleteExtender" runat="server" DelimiterCharacters=""
Enabled="True" MinimumPrefixLength="2" ServiceMethod="GetCompletionList" ServicePath=""
TargetControlID="txtStreet">
</asp:AutoCompleteExtender>
我也有javascript函數命名sizeCalc(autoCompleteHeight)
功能有一個名爲autoCompleteHeight
是得到了autoComplete
彈出的高度參數。
我的問題是如何在autoComplete彈出窗口出現並傳遞autoComplete彈出窗口的高度時觸發sizeCalc函數?