/    Sign up×
Community /Pin to ProfileBookmark

Calling a function from a <BUTTON>

I have a form on my site which has 4 text fields. When the page is loaded the ‘Save’ button is disabled. To enable it the user must click on a ‘Check’ button which will call a function to validate the field values.

It was working, but suddenly it has stopped. I think the problem is in the onClick= statement for the <BUTTON> but I cannot see the error.

Go here and have a look.. [URL=http://roundthebend.greater-peterborough.com/software/school01.php]Try It[/URL]

At the moment, the validation code is minimal as I wanted to get this part working first before worrying about the rest.

Thanks

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@RoddersauthorNov 22.2002 — Thank you.

I wasn't aware of the Error Reporting tool on the browser. I shall make a point of switching it on.
Copy linkTweet thisAlerts:
@RoddersauthorNov 22.2002 — Can you give us a hint on how i switch this on? I'm using IE 5.5.

Have had a look in Tools > internet options > advanced, but nothing i tried in there worked.

Thanks.
×

Success!

Help @Rodders 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.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...