/    Sign up×
Community /Pin to ProfileBookmark

Element has no properties

I am getting this JavaScript, if anybody can help me, that would be really a great help. Thanks

document.frmPostSearch has no properties
save(undefined)scripts_v2.js (line 206)
onclick(click clientX=0, clientY=0)w.p (line 1)
[Break on this error] document.frmPostSearch.submit();

[code]
save: function(myGumiyo) {
// This method is called for 2 reasons. 1. Search 2. Save alert. In either case, the search gets executed
// at some point in time. So validating search fields becomes mandatory
if(!this._validateSearch()) {
return;
};

// No alert is being setup. Just search. If myGumiyo is true, then there is no search, only alerts
if(!document.frmAddSubscription.chkAlertEmail.checked && !document.frmAddSubscription.chkAlertSms.checked && !myGumiyo) {
disableButton(“btnFindIt”, “/web/common/image/buttons/btn_finding.gif”);
this._populateSearchForm();
document.frmPostSearch.submit();
return;
}
[/code]

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@FangOct 09.2007 — Can you give a link, the information given is not helpful.
Copy linkTweet thisAlerts:
@KorOct 09.2007 — Do you have any element with the name (or id) ="submit"?
Copy linkTweet thisAlerts:
@OwensmouthauthorOct 09.2007 — Thanks guys for your help. Actually I traced that error, that frmPostSearch form was missing in the jsp page.
×

Success!

Help @Owensmouth 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.19,
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,
)...