Privacy & Cookies

This website uses cookies. By continuing to use this site you are agreeing to our use of cookies.
Forum Index

Sections

View

Filter topics in this section

Stats

Threads7,423
Posts59,369
Authors6,765

[closed] sort() not function?

Level Discussion > Coding Levels > Coding Level 1 > [closed] sort() not function?


    • 4385
    • 16

    0
    so Ive done this so far
    Show spoiler
    x = Document.getElementByTagName(textarea)[0].innerHTML; x.split(); x.sort()
    but it has returned sort as not a function
Viewing 4 replies - 1 through 4 (of 4 total)
  • Mugiwara27
    Mugiwara27's profile picture

    • 13385
    • 2269

    0
    Where are the ' at ?? you need them for textarea. Then, why using a variable when you don't need it ? Just append split and sort to the rest of your code

    Have a nice day!
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\'' at line 1
  • Evil3d11
    Evil3d11's profile picture

    • 4385
    • 16

    0
    it's a paraphrase of the code I'm not gonna type it exactly in the forums. just something I don't focus on.I also solved the not sorting problem. I just a mis-sorting problem now. thinking of writing a compare function but that would take a while and I'm looking for quicker ways
  • feuerstein
    feuerstein's profile picture

    • 13160
    • 767

    0
    sounds like overthinking maybe... you can send me your code and what you have done via PM if you like to
  • Evil3d11
    Evil3d11's profile picture

    • 4385
    • 16

    0
    sure just give me half an hour to get to enough terminal
Viewing 4 replies - 1 through 4 (of 4 total)
This thread has been closed, you can not add new posts