Category: JavaScript
Getting the selected text from text area by JavaScript

During the development of web sometime we need to develop a small text editor embedding a text area into HTML document and for those we have to do browser end program and so to code javascript is common approach to do so.

....
Category: PHP
Generous way of returning multidimensional array from php function and getting them individually in program

Working with multidimensional array in php when they are returning from a function is a frequent need in php program. But declaring the return as array with the desired variables to return make the job easy with list() function. This is a regular practice of PHP programmer but for the beginners the piece of following code may become usable.

Here the code is given from a program used in an employee managing software where the database is introduced as ODBC connection. But the way is applicable in any PHP program as required. 

....
Category: JQuery
Counting table row using jquery with click event

This type of operation is very easy using javascript / HTMl-DOM . The jquery is more practising trend of time.

....
Category: JavaScript
Passing selected values from listbox to textbox

Sending a selected item from a listbox to a textbox is not a very big deal for a script programmer at server end. But doing it at client-end(browser-end) is really make the involvement of JavaScript. There are others browser-end script to get this type of output but JavaScript is the best client-end scripting for working with any browser at user interaction.

....
Category: HTML,CSS
Active current page web menu by CSS

Showing current page active in the menu link is easy to show by javascripting but only using css it's a easy job. The CSS makes it simpler and more manageable for future modification. So here is a way of doing this with a very simple example.

....