Archive for May, 2006

TaskLister - My first project on CodeProject

I have submitted my first article for CodeProject.com - Which you can find at http://www.codeproject.com/csharp/TaskLister.asp.
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Dynamic loading of content in a Dropdown box - without Ajax - Part II

This is same as my previous blog “Dynamic loading of content in a Dropdown box - without Ajax - Part I”, but I have used PHP with MySQL connectiviry for doing this.

< ?_php
require_once “db_common.inc”;
db_connect();
$res = mysql_query(”select * from category where parent_id=0 and language_id=1″);
$i=0;
echo “n”;
while($row = mysql_fetch_assoc($res)){
echo “cmbBusiCategory.options[$i] = [...]

Leave a Comment

Dynamic loading of content in a Dropdown box - without Ajax - Part I

This code demonstrates a depricated way (my words) of dynamically filling dropdown list boxes based on the input value from another dropdown box.

Categories

Sub Categories

var Category = new Array()
Category[0] = “FtFesT1″;
Category[1] = “teFsT2″;
Category[2] = “teFsT3″;
var First = new Array()
First[0] = “FtFesT1″;
First[1] = “teFsT2″;
First[2] [...]

Leave a Comment

Javascript - Copy to Clipboard

Here is a sample code which demonstates “How to copy/save text to Clipboard”

function PROCTextCopyComponentValue( form1, s ) {
var temp1 = null;
var hidden1 = null;
form1.hidden1.value = s;
temp1 = form1.hidden1.createTextRange();
temp1.select();
temp1.execCommand( ‘copy’ );
}

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment