Here is a great post on CSS Tricks about new design trick with label and Input field. The design look neat and cool. It is saving of space without being cluttered. Label is mixed with Input field as it seems.
New Design Tricks on Roll: Labeling input field
On CSS-Tricks,… (Continue)
Today I need to remove a form element from page based on certain input from customer. I used to do document.getElementById('myID').style.display = 'none'; and it was enough all the time. User cannot see and cannot use that element. But today it has not worked. What was the reason for that?… (Continue)
This is another post in beginners series. Suppose you want to dispaly dynamic message after form submit for short duration. You want the massage to dissapper after some time.
User can have option to hide it if he wants also. How you will do it?
Here is a example script… (Continue)
All of us write a PHP script where script submit the form and data need to put on database or in some file. This is a very important step we learn when we start doing programming in PHP. After everything went correct you may has faced the problem of resubmitting… (Continue)
You need to display a message after any action to confirm about successful completion of the action or for some error.
Suppose user has submitted a web form and you got everything fine. So in PHP you have this script:
<?php
if (count($_POST))
{
// checking / validation etc
//… (Continue)
In case you want your form action value changed based on certain condition then you can do this using simple JavaScript. In this way you can submit your single form to any of your scripts based on condition.
Here you will also find tricks for changing the method attribute of… (Continue)
This is the general problem fresher struck in form submission. They struck in some logical problem and try to find their solution in submitting two forms in a web page at same time.
But answer to this question is simple. You cannot do this in general.
You can change action… (Continue)
This is very common for us providing user list of choices and let them select their preferences from given choices. This kind of script is also needed in admin side for update and delete records.
Here I am providing JavaScript for doing check all/ Uncheck all and validation script after… (Continue)