Client and server side are two completely different things but if you let them cooperate, both on their side, you can create wonderful things.
Take a look at this site for more information and some lessons because it seems to me that you are in need of some eduction about web technology: w3schools.
Read my blog. Handy Firefox plugins for web developers.
Workaround for non working Mark as answer buttons.