Solved

checkbox onChange() Help Please

Posted on 2003-12-03
1
3,937 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

831 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