Open Source .Net
Adsence750x90
Thursday, May 1, 2008
How to Create Namespace in JAVASCRIPT
Creating Namespace in JAVASCRIPT
between script tag write this code
if(typeof(raju)=='undefined')
{raju={};}
raju.TestFunction=function()
{
alert("Raju.M");
}
div onclick="raju.TestFunction();" raju /div
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment