Ticket T1279895
Visible to All Users

Not able to access dropdown instance through id in javascript function via jquery

created 3 days ago (modified 3 days ago)

Clipboard-File-3.png

In javscript function:
Clipboard-File-2.png

Error on console:
Clipboard-File-1.png

Above is the error.

Any idea why is the function not accessible?

Comments (2)
C C
Charles Vincent Cordial (DevExpress Support) 2 days ago

    Hello,

    Thank you for the screenshots.

    Could you please specify where in code you call the instance() method? This error usually occurs when you call the function before the component is rendered.

    Clipboard-File-1.png

    I look forward to your response.

    Regards,
    Charles

      Thanks, Got it. You are right, Script tag under which the code to access the instance was written, got misplaced. Thankyou Charles

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.