The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Javascript codes issue

    likethenightmare
    likethenightmare
    Forumember


    Posts : 44
    Reputation : 1
    Language : hungarian

    Solved Javascript codes issue

    Post by likethenightmare April 5th 2017, 12:18 pm

    Hi guys!

    I added two javascript codes (one, which counts the words, and one, which counts the characters).

    The issue is, when I use both, and writing in the text box, it is slow (maybe lagg?)

    So the question is: Aren't they working together?

    Thanks!


    Last edited by likethenightmare on April 6th 2017, 7:09 pm; edited 1 time in total
    likethenightmare
    likethenightmare
    Forumember


    Posts : 44
    Reputation : 1
    Language : hungarian

    Solved Re: Javascript codes issue

    Post by likethenightmare April 5th 2017, 2:37 pm

    Anyone?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Javascript codes issue

    Post by SLGray April 5th 2017, 3:54 pm

    Please don't double post. Your posts need to be separated by 24 hours before bumping. Please use the edit button, instead!
    Please read our forum rules:  ESF General Rules



    Javascript codes issue Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Javascript codes issue

    Post by Ape April 6th 2017, 9:53 am

    This is a code we have had problems with when using the 2 at the same time.

    the problem comes when your page has to ask the servers for data when typing out it has to hit the the 2 codes at a time and it has to then send the data back to you on your forum but as the page don't refresh that fast it gives lag.

    as you know our system was not made to count out what you type so it will have some lag as it's a plug in we just don't use on the forum system.

    so removing one of them should help speed things up a little.



    Javascript codes issue Left1212Javascript codes issue Center11Javascript codes issue Right112
    Javascript codes issue Ape_b110
    Javascript codes issue Ape1010
    likethenightmare
    likethenightmare
    Forumember


    Posts : 44
    Reputation : 1
    Language : hungarian

    Solved Re: Javascript codes issue

    Post by likethenightmare April 6th 2017, 7:09 pm

    Ah, I see. Thanks for your answer!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Javascript codes issue

    Post by Ape April 7th 2017, 8:27 am

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    Javascript codes issue Left1212Javascript codes issue Center11Javascript codes issue Right112
    Javascript codes issue Ape_b110
    Javascript codes issue Ape1010

      Current date/time is November 11th 2024, 1:18 pm