How many AJAX scripts, setInterval scripts, or functions are too many?

Discussion in 'JavaScript' started by Imozeb, Apr 1, 2010.

  1. #1
    Is there any limit on how many AJAX scripts, setInterval scripts, window.var, or functions I should use or can I use as many as I want of each?

    And does the onMouseDown() event work in Google Chrome, and Firefox because when I tried it it didn't work?

    Thanks.

    ~imozeb
     
    Imozeb, Apr 1, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If your site manages to crash Chrome on load, that's when it's too much.
     
    krsix, Apr 1, 2010 IP
  3. canadianguy_001

    canadianguy_001 Peon

    Messages:
    97
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if youre even asking this, you should re-evaluate the way your website is scripted
     
    canadianguy_001, Apr 1, 2010 IP
  4. Imozeb

    Imozeb Peon

    Messages:
    666
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I know. I'm trying to figure out how to make my code cleaner or more cross browser. Any advice?
     
    Imozeb, Apr 2, 2010 IP