First.js
function one()
{
alert('wroked');
var link_new=document.createElement('script');
link_new_script.src="second.js";
document.body.appendChild(link_new_script);
two();
}
second.js
function two()
{
alert('working');
}
Monday, January 19, 2009
Friday, January 9, 2009
Dictionary Object
use below header to invoke Dictionary
using System.Collections.Generic;
Dictionary myvalue = new Dictionary();
myvalue.Add("First Name","VIJAY");
myvalue.Add("Second Name","ANANDH");
foreach (KeyValuePair value in myvalue)
{
if (value.Key == "First Name")
{
Response.Write(value.Value.ToString());
}
}
using System.Collections.Generic;
Dictionary
myvalue.Add("First Name","VIJAY");
myvalue.Add("Second Name","ANANDH");
foreach (KeyValuePair
{
if (value.Key == "First Name")
{
Response.Write(value.Value.ToString());
}
}
Subscribe to:
Posts (Atom)