1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Anybody know Javascript?

Discussion in 'BBS Hangout' started by Mr. Mooch, Apr 15, 2005.

Tags:
  1. Mr. Mooch

    Mr. Mooch Contributing Member

    Joined:
    Nov 30, 2002
    Messages:
    4,663
    Likes Received:
    3
    I'm doing a Javascript quiz online that is due today (I kind of forgot about it).

    I read about something you can skip to get passed the videos (there are videos with questons in between) and go to the next one, but I can't do that anymore.

    What I'm looking for is:

    <script language=''javascript''> in View Source

    From there I used to be able to make a new line and type in:
    submitPage();

    and then I save as
    temp.htm on my desktop and open it from there.

    But now the Source says:

    <script language="javascript" src="/code/videobottom.js"></script>
    <title>Course Progress</title>


    Obviously the course was changed, but can I still use the SubmitPage insert anywhere or is it just not possible anymore?

    This is why I should correctly learn things like Javascript. :eek:

    Thanks for any help!
     
  2. droxford

    droxford Member

    Joined:
    Oct 26, 2001
    Messages:
    10,598
    Likes Received:
    2,131
    Instead of saving your temp.htm onto the desktop, save it in a folder (like c:\quiz or something)

    In your browser cache, you should be able to find a file called "videobottom.js". Copy that to the c:\quiz folder, too.

    Then, in temp.htm, change the source code from "<script language="javascript" src="/code/videobottom.js">
    to "<script language="javascript" src="videobottom.js">

    Add your submitPage() code and give it a try

    -- droxford
     
  3. DrLudicrous

    DrLudicrous Member

    Joined:
    May 9, 2002
    Messages:
    3,936
    Likes Received:
    203
    If you are using FireFox or netscape you can open the javascript console by type Javascript: in the address bar, once the window opens just type submitPage() into the bar and hit enter to execute the function.
     

Share This Page