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
Tag: HTML
How To Set Favicon For Your Website
Favicon or favorites icon are the small icons that are shown in front of the URL in the tabs of your browser and also in your bookmarks. Lets see how we can set up a custom favicon for your website. Create the Icon To create icons you need an icon maker. We will go a… Continue reading How To Set Favicon For Your Website
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
Div Center Aligned And Margin Auto Problem For IE6 Fixed
If you want to place your div in the center of its container with the help of CSS, you can do so following below process – Hi margin 0 sets the margin to 0px and auto sets equal space on either side of the div making it center aligned.Here both the outer and inner div… Continue reading Div Center Aligned And Margin Auto Problem For IE6 Fixed
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