문제

I am trying to attach a server-side event to lookup the city/state for the user-entered zipcode in a field like the one below.

<asp:TextBox ID="TextZipcode" runat="server" CssClass="inputtext" Columns="10" MaxLength="10"></asp:TextBox>

Since there is no lost focus event to capture, has anyone had any luck getting this to work?

도움이 되었습니까?

해결책

Sure, why not? Just attach a JavaScript handler and have it invoke an AJAX action.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top