Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:47:25+00:00 2026-05-28T06:47:25+00:00

I have a form with a text box: wherever value changed by typing, showing

  • 0

I have a form with a text box:
wherever value changed by typing, showing alert message by KeyPress event, but it does not work if “Use AutoComplete for Form” is enable in IE and then whenever user double click and select text from a list of “possible entries, user have typed before”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:47:26+00:00Added an answer on May 28, 2026 at 6:47 am

    Use the client-side “onpropertychange” event for this purpose:

    Here is the solution for both the standard and DevExpress (it looks like you are using it) textboxes:

    <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
        //DevExpress ASPxTextBox
        function OnInit(s, e) {
            var inputElement = s.GetInputElement();
            ASPxClientUtils.AttachEventToElement(inputElement, "propertychange", function (event) {
                if (event.propertyName === "value") {
                    alert("Value Changed");
                    alert(event.srcElement.value);
                }
            });
        }
    
        //Standard Input
        $(document).ready(function () {
            var inputElement = document.getElementById("txt");
            //var inputElement = document.getElementById('<%=txt.ClientID%>');
            inputElement.attachEvent("onpropertychange", function (event) {
                if (event.propertyName === "value") {
                    alert("Value Changed");
                    alert(event.srcElement.value);
                }
            });
        });
    </script>
    
    <dx:ASPxTextBox ID="txtDX" runat="server" Width="170px">
        <ClientSideEvents Init="OnInit" />
    </dx:ASPxTextBox>
    <br />
    <input id="txt" type="text" runat="server" />
    <br />
    <asp:Button ID="btn" runat="server" Text="Button" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# form that has a text box that needs to constantly
I have created an form validation using ajax/php. Each text box is validated using
I have some text in a link title and also a form box and
I have a text box input in a form; when I click it, a
I have a form with a single text box on it. No other controls.
I have a simple form with one text box and a panel with three
I have a JSP/HTML form with text box and radio buttons. I am saving
I have a simple form with one text box that pass data to SQL
I have a form with a text input box which displays similar entries to
I have a php form with some text box, list of radio buttons and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.