/    Sign up×
Community /Pin to ProfileBookmark

line 22: theQuest is null or not an object

I am getting an error in my code. This will be a mirical if you can figure out the problem. Thanks a million!

line 22: theQuest is null or not an object

The code is HTML and Javascript.

[upl-file uuid=4040c0ab-9e0e-4621-841a-4c1619820b9f size=2kB]problem.zip[/upl-file]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@rex64authorJul 26.2004 — *bump*
Copy linkTweet thisAlerts:
@BillyRayJul 26.2004 — It's hard to say if this is the problem or not, but your getObjFromForm function is ignoring the second "form" parameter that is passed into it.

Also, you haven't said what browser it is failing in. Some browsers do not like the shortcut methods of accessing form elements. Try using the full DOM syntax when referring to your forms:

document.forms[0].
or
document.forms['myForm'].

Hope this helps,

Dan
×

Success!

Help @rex64 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...