Results 1 to 3 of 3

Thread: HTML and Javascript Error: $("sublinks") is null

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2006
    Location
    Florida, USA
    Posts
    563

    Resolved HTML and Javascript Error: $("sublinks") is null

    I can not figure out why sub links is having a problem on this site.
    http://www.speedyinput.com/Speed_Wheel/index.php

    Code:
    Error: $("sublinks") is null
    Source File: http://www.speedyinput.com/Speed_Wheel/index.php
    Line: 35
    We just got a very similar site fixed:
    http://www.vbforums.com/showthread.p...19#post4116519

    I use Mootools http://mootools.net/download/version/1.1.2 Uncompressed with docs

    I actually passed W3C "This document was successfully checked as HTML 4.01 Transitional!"
    http://validator.w3.org/check?uri=ht...Inline&group=0
    Last edited by rex64; Jan 12th, 2012 at 07:38 PM.
    I use VB .NET 2022. Currently developing StudyX educational software, PlazSales POS system and Yargis a space ship shooter game.

  2. #2
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: HTML and Javascript Error: $("sublinks") is null

    There is apparently no element with id "sublinks" on the page; add some script to confirm it's non-null before working with it.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2006
    Location
    Florida, USA
    Posts
    563

    Re: HTML and Javascript Error: $("sublinks") is null

    Thanks! I found the sublinks, apparently it was a div tag that was missing.
    Quote Originally Posted by SambaNeko View Post
    There is apparently no element with id "sublinks" on the page; add some script to confirm it's non-null before working with it.
    I use VB .NET 2022. Currently developing StudyX educational software, PlazSales POS system and Yargis a space ship shooter game.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width