/    Sign up×
Community /Pin to ProfileBookmark

Contributed script doesn’t work – pls help!

Hi,

The script ‘List Chooser’ in the forms area doesn’t work.

I have changed the onSubmit to onClick which brings up the message it was supposed to but I want the script to link to the ‘.html’ doc listed in the option tag but have no idea how to make it work.

Here’s the link to the relevant page:

[URL=”http://javascript.internet.com/forms/list-chooser.html”]http://javascript.internet.com/forms/list-chooser.html[/URL]

Any help would be greatly appreciated.

Thanks, Lance.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Suhas_DhokeMay 08.2007 — Hello Lance.

You are trying to change the onSubmit event to onClick, but, the [B]form[/B] doesn't have the onClick event.

That's why, its shows the error message.

If you want to submit the form on onClick event, then add a [B]Button[/B] and submit the page on onClick event of the button.

Happy Coding...
Copy linkTweet thisAlerts:
@lance1949authorMay 08.2007 — Thanks so much Suhas.

Your help is very much appreciated.

Lance.
×

Success!

Help @lance1949 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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