B4J Question [BANano] [SOLVED] 'Empty string passed to getElementById()'.

Discussion in 'B4J Questions' started by Mashiane, Jan 25, 2019.

Tags:
  1. Mashiane

    Mashiane Expert Licensed User

    Hi there

    The above question is being reported by Firefox developer. Phew, been wondering the cause as the counter was showing 15 on another project. This is being raised on the .Empty call, the Flights is being displayed on the page.

    Code:
    Sub Init
        
    'create a div
        Dim el As BANanoElement
        el = BANano.GetElement(
    "#body")
        el.Empty
        el.SetHTML(
    $"<div id="res">Flights</div>"$)
    End Sub
    Am i missing something or should be adding something somewhere? I'm busy exploring BANanoSQL as a possible backend so long.

    Thanks in advance.
     
  2. Kiffi

    Kiffi Active Member Licensed User

    you can ignore this warning. Firefox is a little too sensitive in this respect.
     
    Mashiane and alwaysbusy like this.
  3. Mashiane

    Mashiane Expert Licensed User

    Perfect thanks, I was concerned that Im writing goobly-gook code or something. Ta!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice