/    Sign up×
Community /Pin to ProfileBookmark

How do I submit a form without a submit button?

Hi all,

This thread is related to JavaScript. Since I would like to see solutions from PHP side, so I decided to post it on this sub-forum.

I would like to have my page generate a table or a list right after a user selects an option on a drop down menu. How do I code that?

Thank you,
Dhimoet

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@TecBratSep 07.2011 — You'll probably get a better answer at the JS forum because you're right, JS is going to handle that request, but if you want the table to be dynamically genereated by PHP, then read up on AJAX. (I've barely touched it, so I'm not much help in that area.)
Copy linkTweet thisAlerts:
@dhimoetauthorSep 08.2011 — Hi TecBrat,

Thank you for mentioning about AJAX. AJAX was really what I needed!

And now I am wondering, are there any other different solutions?

Dhimoet
Copy linkTweet thisAlerts:
@oliviasmithSep 19.2011 — Yes you can submit without clicking on submit button using javascript.Here you will find all methods to submit form.

http://www.javascript-coder.com/javascript-form/javascript-form-submit.phtml
×

Success!

Help @dhimoet 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.16,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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