How To Get Values Of Multiple Select In PHP

As we all know Multiple Select in HTML is a Select box where we can choose multiple values. While define multiple select by adding multiple=”multiple” like the example below – One Two Three But when we will submit data, even after choosing multiple values, $_POST will show only one entry. To get all the values… Continue reading How To Get Values Of Multiple Select In PHP

How to display Indian Rupee Symbol in Website with HTML / CSS / JS

We know how to display the € (€) or £ (£) symbols easily with HTML. Lets now see how easily can we display the new Indian Rupee Symbol using HTML. Easiest if your machine supports Unicode 6.0 If your machine supports Unicode 6.0 its as easy as ₹ (₹) If you want to make sure… Continue reading How to display Indian Rupee Symbol in Website with HTML / CSS / JS

Change CSS Class With JavaScript

If we need to change the CSS class of a div or any other element with onclick or onmouseover etc. dynamically using JavaScript, you can do so using className. Follow the below example – Click here to see the class change Mouse over to see the class change

Style HR Tag With CSS

There are pages which have a few hr tags thrown here and there. If the page is designed nicely, the hr tags look ugly, if not styled properly. To make them look fine use the following CSS properties. 1. border:none;                                         – Will remove the border2. background-color:#000000;       – Add color as required3. height:1px;                                             – Adjust the… Continue reading Style HR Tag With CSS

Get Selected Index And Option Text With JavaScript

The below example shows how to get the value, selected index, selected text of a drop down with JavaScript. The HTML select is below Select a value First Option Second Option Third Option Fourth Option Now the JavaScript to get the values. Within the firejs function (that is fired with onchange event) the following can… Continue reading Get Selected Index And Option Text With JavaScript