Ext.Msg.alert from client script error, "this.btnEl is null"

  1. #1

    Ext.Msg.alert from client script error, "this.btnEl is null"

    <div class="forum-post">
    I have:

    <div class="forum-code">
     
    Ext.Msg.alert("Report Generator","Your report is generating");
    at the end of a javascript method.

    I get the error: this.btnEl is null.

    The alert does pop up...






  2. #2

    RE: Ext.Msg.alert from client script error, "this.btnEl is null"

    Hi,

    Can you show test example? I can't reproduce any issue. For me alerts works fine, without any js error
  3. #3

    RE: Ext.Msg.alert from client script error, "this.btnEl is null"

    I can't seem to isolate it, but I know I get odd behaviour when I include a script to prototype:



    <scriptsrc="../Scripts/prototype-1.6.0.2.js"type="text/javascript"></script>
    Should I not be doing this? If I don't do this, then my javascript functions that use:

    $F(element)

    to obtain values won't work. Should I use something else?

Similar Threads

  1. Replies: 14
    Last Post: Nov 26, 2012, 7:33 PM
  2. [CLOSED] [1.0] How to add client script in before OnReady?
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 14, 2010, 10:56 AM
  3. client side script after ajax event
    By [WP]joju in forum 1.x Help
    Replies: 0
    Last Post: Nov 25, 2009, 2:30 AM
  4. Replies: 2
    Last Post: Jul 29, 2009, 1:57 PM
  5. Ext.Msg.Alert from client script error
    By rthiney in forum 1.x Help
    Replies: 3
    Last Post: Jul 09, 2009, 3:51 PM

Posting Permissions