Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

checkbox onChange() Help Please

Posted on 2003-12-03
1
Medium Priority
?
3,972 Views
Last Modified: 2013-12-13
I have a .php page using a checkbox - I want to click on the checkbox and have the submit() called to my post .php file - here is my checkbox line of code:

<INPUT TYPE="checkbox" NAME="frm_border_lines" OnChange="this.form.submit();"> Border Lines

...but when I click on the checkbox, it doesn't submit - what am I missing?

Thanks....
0
Comment
Question by:rfresh
1 Comment
 
LVL 5

Accepted Solution

by:
Karitz earned 500 total points
ID: 9874049
then...its should be OnClick.....not OnChange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question