locked
Values disappears on the textBox RRS feed

  • Question

  • User-1738841732 posted

    The below is the code,

      When I tab out after entering the values in the text box(txtCVV)they disappears and when i right click and undo I and able to retrieve the values

      Similarly, when i click on the textBox, the values disappears and when i right click and undo I and able to retrieve the values


    Can some one help me resolve this.


    <div class="column tiny-12 small-6 medium-5" data-securityzipcode-content>
    <label class="margin-right-tiny" id="Label2">
    <span class="text-brand-1">* </span>Security Code:</label>
    <asp:TextBox ID="txtCVV" TextMode="Password" MaxLength="4" data-id="number"
    CssClass="w-tiny DisableCopyPaste" onPaste="event.returnValue=false;return false;"
    ondrop="return false" ondragstart="return false" onselectstart="return false"
    autocomplete="off" runat="server" ClientIDMode="Static" Style="display: inline;
    width: 150px;">
    </asp:TextBox>
    <input type="hidden" id="hdnCVVWallet" runat="server" clientidmode="Static" />
    </div>

    Monday, October 7, 2019 2:54 PM

Answers

  • User288213138 posted

    Hi mansooraabid,

    According to your description, i can't reproduce your quetion.

    mansooraabid

    CssClass="w-tiny DisableCopyPaste"

    Do you have used  javascript or jquery library in your code ? If there are, please post the details page codes. 

    The attribute for the textbox is related with that library.

    Best regards,

    Sam

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 8, 2019 2:23 AM