Dynamic Dependent Select Box Using jQuery and Ajax

Dynamic Dependent Select Box means whenever there is selected value in the “parent” box, the “child” box will fit its options value according to the value of “parent” box. It can be illustrated like this. Say, we have “country” select box and “city” select box. If we choose “Indonesia” in the “country” select box, the “city” select box will only show some cities located in Indonesia like “Jakarta”,”Semarang” and “Bandung”. It won’t show “Sydney”,”Amsterdam”,”Hamburg” and so on.
In This tutorial we are gonna make simple application to perform Dynamic Dependent Select Box.
Continue reading

Advertisements

Login or Signup with jQuery and PHP

Jquery dom is very powerful to manipulate dom elements in your web application. In this tutorial i will show you how to use jquery dom in login or signup form example.

in the pictures below you should notice the differences. When “I have an account” is selected, it wants you to login by typing your password and click Submit button. In another side if “I am new” is selected the application wants you to signup by typing your new password and click Signup button. Continue reading