Solved

checkbox onChange() Help Please

Posted on 2003-12-03
1
3,929 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 125 total points
ID: 9874049
then...its should be OnClick.....not OnChange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now