| |||
Dive deep into the world of Microsoft technologies at the Community TechDays and get trained on the latest from Microsoft. Build real connections with Microsoft experts and community members, and gain the inspiration and skills needed to maximize your impact on your organization while enhancing your career. What more... you can watch some of these sessions LIVE online from the comfort of your workstation as well. |
Wednesday, September 16, 2009
Community TECHDAYS.EVENT
Monday, September 7, 2009
jQuery cookie plugin
jQuery cookie plugin makes the cookie handling so simple.
First you have to include jquery.cookie.js plugin
and your work is done..
simple code to manipulate cookie.
Set cookie
$.cookie(cookiename, cookievalue,{expires: 30});
Note: expires takes the time duration in days
Get cookie
$.cookie(cookiename);
Delete cookie
$.cookie(cookiename, null,{expires: 30});
Click here to download jquery.cookie plugin
First you have to include jquery.cookie.js plugin
and your work is done..
simple code to manipulate cookie.
Set cookie
$.cookie(cookiename, cookievalue,{expires: 30});
Note: expires takes the time duration in days
Get cookie
$.cookie(cookiename);
Delete cookie
$.cookie(cookiename, null,{expires: 30});
Click here to download jquery.cookie plugin
jQuery quicksearch plugin
Here is a useful plugin to quickly search anything from your table or list.
Just add this little cod after linking the quicksearch.js
For Table:
$('table#myTable tbody tr').quicksearch({
position: 'before',
attached: 'table#myTable',
labelText: 'Quick Search : '
});
For List:
$('ul#myList').quicksearch({
position: 'before',
attached: 'ul#myList',
loaderText: '',
delay: 100
})
Click on the link to download jQuery plugin
Just add this little cod after linking the quicksearch.js
For Table:
$('table#myTable tbody tr').quicksearch({
position: 'before',
attached: 'table#myTable',
labelText: 'Quick Search : '
});
For List:
$('ul#myList').quicksearch({
position: 'before',
attached: 'ul#myList',
loaderText: '',
delay: 100
})
Click on the link to download jQuery plugin
Tuesday, September 1, 2009
Javascript XML Parsing Problem Solution in Internet Explorer
function loadXMLDoc(dname)
{
var xmlDoc;
if (navigator.userAgent.indexOf('MSIE')>=0)
// Internet Explorer
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.load(dname);
return xmlDoc;
}
else
{
xmlDoc=new window.XMLHttpRequest();
xmlDoc.open("GET",dname,false);
xmlDoc.send("");
return xmlDoc.responseXML;
}
alert("Error loading document");
return null;
}
Subscribe to:
Posts (Atom)