<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5865907911743884519</atom:id><lastBuildDate>Thu, 09 May 2013 12:06:53 +0000</lastBuildDate><category>visual studio</category><category>others</category><category>quality assurance</category><category>jquery</category><category>css</category><category>tools</category><category>javascript</category><category>mysql</category><category>ms sql server</category><category>php</category><category>software</category><category>asp.net</category><category>windows</category><category>technology news</category><category>wordpress</category><category>windows 7</category><title>Programming Tutorials</title><description> </description><link>http://nice-tutorials.blogspot.com/</link><managingEditor>noreply@blogger.com (Adeel Fakhar)</managingEditor><generator>Blogger</generator><openSearch:totalResults>240</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/nicetutorials" /><feedburner:info uri="nicetutorials" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>nicetutorials</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5697051393434750166</guid><pubDate>Wed, 08 May 2013 10:48:00 +0000</pubDate><atom:updated>2013-05-08T03:48:09.749-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
Today i have got this asp.net nasty error, i fixed it and then decided to share it with you people. I was working on a website developed in asp.net version 2.0 but when i tried to run it through my friend's system (i had given a copy of website to him) then face this error.
&lt;/span&gt;
&lt;/div&gt;
&lt;div class="restofpost"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
To fix this error i simply installed asp.net ajax in that system and website come to life.&lt;br/&gt;&lt;br/&gt;

&lt;b&gt;To solve issue without installing AJAX.NET:&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;

Copy AjaxControlToolkit.dll and AjaxControlToolkit.pdb version 1.0.61025.0 from my system (in which asp.net ajax is installed) to ASP.NET App bin folder of my friend's system. &lt;br/&gt;&lt;br/&gt;

(i install my AjaxControlToolkit in C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit)&lt;br/&gt;&lt;br/&gt;

Copy System.Web.Extensions.dll (C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions) and System.Web.Extensions.Design.dll (C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions.Design) from my system to ASP.NET App bin folder of my friend's system.&lt;br/&gt;&lt;br/&gt;

Run the website and it's working fine.

&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=Z7sDRDVhkMo:fNSee1iwUvs:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=Z7sDRDVhkMo:fNSee1iwUvs:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=Z7sDRDVhkMo:fNSee1iwUvs:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=Z7sDRDVhkMo:fNSee1iwUvs:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=Z7sDRDVhkMo:fNSee1iwUvs:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/Z7sDRDVhkMo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/Z7sDRDVhkMo/could-not-load-file-or-assembly.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2013/05/could-not-load-file-or-assembly.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6158680077792908314</guid><pubDate>Thu, 28 Mar 2013 09:44:00 +0000</pubDate><atom:updated>2013-03-28T02:44:59.864-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">wordpress</category><title>How to avoid duplicate content in your WordPress blog</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
Most of us simply know wordpress is a tool for developing blogs/websites(news based, tutorials based), they want to earn from their wordpress blog/website, they want it to rank high in google whenever user type any search query relevant to their website but when they purchase domain, install wordpress, deploy their website then never ever they compete against any search query in google, never get traffic and remain live in darkness and then they blame that it is happening due to use of wordpress, and they think lets develop website by using plain html with server side technology like php or asp.net for their dynamic purposes :)
&lt;/span&gt;
&lt;/div&gt;
&lt;div class="restofpost"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
People develop sites in wordpress and some of them earn significant revenue but most of them are even unable to come in google against any search query, any keyword. Why? This is happen because they have blacklisted in google due to duplicate content and they don’t know about it that they have been blacklisted. Another question that I think coming in your mind is that how can we get plenty of duplicate content if we write post ourselves but I want to clear your concepts that doesn’t matter you write any post yourself by unique content, still very soon you will be blacklisted due to duplicate content.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;Now let me proof how you can be blacklisted due to duplicate content and from where that duplicate content is coming in your website.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;All of you knows that wordpress blog contains &lt;b&gt;Archive&lt;/b&gt;, &lt;b&gt;Tags&lt;/b&gt; and &lt;b&gt;Categories &lt;/b&gt;Sections. Now lets suppose I have written any post for instance in the month of &lt;b&gt;march 2013, &lt;/b&gt;you can access that post by clicking on post title in the main page of your blog or can go to that post through &lt;b&gt;Recent Posts&lt;/b&gt; section in your blog but my dear fellows that post is too accessible from &lt;b&gt;Archive&lt;/b&gt;, &lt;b&gt;Tags&lt;/b&gt; and &lt;b&gt;Categories&lt;/b&gt; section in your blog.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;Now question is how google mark it as a duplicate content? Answer is very simple, &lt;b&gt;due to url&lt;/b&gt;. Google understand every url as a separate page, and if page is separate then content must be separate and unique. When you will click on March 2013 then the url will be http://www.yourwebsite.com/index.php/2013/03/, same issue you will find with Categories and Tags section.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;&lt;b&gt;Now how to avoid duplicate content in your WordPress blog?
&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;One approach, which is foolish approach is to eliminate all these Sections from Blog, the reason why I say this as foolish approach because these all are the features of wordpress and due to these sections the user of your website can move anywhere, search any post, search post according to his interest and in response the bounce rate of your website will be significantly low.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;Second approach which is professional approach is to use all these Features (Categories, Archives, Tags) in your blog but don’t allow google to index them, if google will not index it then you are 100% safe. You can safe yourself by writing following php code in the &lt;b&gt;header.php&lt;/b&gt; file of your wordpress&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;&amp;lt;?php 

if((is_home() &amp;amp;&amp;amp; ($paged &amp;lt; 2 )) || is_single() || is_page()){
    echo '';
} else {
    echo '';
}
?&amp;gt;

&lt;/span&gt;&lt;/pre&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;

The best location to add this code snippet is just after &amp;lt;title&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;Hopefully you will find this tutorial very handy. Your comments are welcome.
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=K_htG_AfQ7A:Qel6vu1I0GA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=K_htG_AfQ7A:Qel6vu1I0GA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=K_htG_AfQ7A:Qel6vu1I0GA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=K_htG_AfQ7A:Qel6vu1I0GA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=K_htG_AfQ7A:Qel6vu1I0GA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/K_htG_AfQ7A" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/K_htG_AfQ7A/how-to-avoid-duplicate-content-in-your.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2013/03/how-to-avoid-duplicate-content-in-your.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5885071401737818818</guid><pubDate>Thu, 28 Mar 2013 06:53:00 +0000</pubDate><atom:updated>2013-03-27T23:53:11.317-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css</category><title>How to center align table or div using css</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
In this tutorial we will learn how to center align div or table using css. You can center align both of these html tags by using &amp;lt;center&amp;gt; tag. However, in web browsers such as Firefox and Flock or websites which adhere to stricter standards like xHTML 1.0 Strict, align="center" will be ignored, as align attribute has deprecated in preference of styles attribute instead. For text only, align attribute can be substituted with text-align tag as a workaround, but for other elements such as image, it will continue to align to the left, and not center. Moreover, you should know how you can center align div or table using css.
&lt;/span&gt;
&lt;/div&gt;

&lt;div class="restofpost"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
By following strict web coding standard, in order to center a block-type object within another block type object, you have to use the following code on the object that you wants to be centered (i.e. on the inner object):
&lt;pre class="css" name="code"&gt;
style="margin-left:auto; margin-right:auto;"
&lt;/pre&gt;

or,
&lt;pre class="css" name="code"&gt;
style="margin:0 auto;"
&lt;/pre&gt;

So for aligning div tag on center, you will use following html code

&lt;pre class="html" name="code"&gt;
&lt;div style="margin:0 auto;"&gt;This line of text will be centered&lt;/div&gt;
&lt;/pre&gt;

I hope you will find this tutorial very handy. Your comments are welcome.

&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=020UjMs4WrY:zdvvGwjcA30:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=020UjMs4WrY:zdvvGwjcA30:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=020UjMs4WrY:zdvvGwjcA30:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=020UjMs4WrY:zdvvGwjcA30:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=020UjMs4WrY:zdvvGwjcA30:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/020UjMs4WrY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/020UjMs4WrY/how-to-center-align-table-or-div-using.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2013/03/how-to-center-align-table-or-div-using.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7949929641741931083</guid><pubDate>Sat, 16 Mar 2013 05:57:00 +0000</pubDate><atom:updated>2013-03-15T22:57:45.993-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">windows 7</category><category domain="http://www.blogger.com/atom/ns#">tools</category><category domain="http://www.blogger.com/atom/ns#">quality assurance</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>Windows 7 Problem Steps Recorder, a screen capture tool</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary"&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;In this tutorial you will get knowledge about one of the best screen capture tool available in Windows 7. The name of this tool is &lt;b&gt;Problem Steps Recorder&lt;/b&gt;, you can use it to create step-by-step recordings of any problems you have. This is the marvelous feature of Windows 7 which Quality Assurance team can use as a substitute of the Snagit Software, which is another famous tool for screen capturing. Open Start menu and type psr.exe in Search/Run. Here launches your Problems Step Recorder:
&lt;/span&gt;
&lt;/div&gt;
&lt;div class="restofpost"&gt;
&lt;a href="http://4.bp.blogspot.com/-Vpc8YFGQ28E/UUQIUuDcigI/AAAAAAAAAYw/rHt_VduWkcU/s1600/psr.png" imageanchor="1" &gt;&lt;img border="0" src="http://4.bp.blogspot.com/-Vpc8YFGQ28E/UUQIUuDcigI/AAAAAAAAAYw/rHt_VduWkcU/s320/psr.png" alt="Problem Steps Recorder - Screen Capture Tool" title="Problem Steps Recorder - Screen Capture Tool"/&gt;&lt;/a&gt;&lt;br/&gt;
&lt;span style="font-family: Verdana, sans-serif; font-size: small;"&gt;
&lt;b&gt;Key Features and Functionality&lt;/b&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;It records the details of the events even your mouse clicks i.e. left and right as well.&lt;/li&gt;
&lt;li&gt;You can add comments while recording.&lt;/li&gt;
&lt;li&gt;It automatically takes the screenshots while you are recording.&lt;/li&gt;
&lt;li&gt;It mentions the page links you have traversed.&lt;/li&gt;
&lt;li&gt;It gives the detailed summary of all the events at the end.&lt;/li&gt;
&lt;li&gt;It saves the output file in mht format which can be opened in IE.&lt;/li&gt;
&lt;li&gt;It’s so simple that you can use and learn it yourself.
&lt;/li&gt;
&lt;/ol&gt;

Hopefully you will find this tutorial very informative.
&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=AwrTtVqI9hs:esY3C1u5rH4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=AwrTtVqI9hs:esY3C1u5rH4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=AwrTtVqI9hs:esY3C1u5rH4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=AwrTtVqI9hs:esY3C1u5rH4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=AwrTtVqI9hs:esY3C1u5rH4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/AwrTtVqI9hs" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/AwrTtVqI9hs/windows-7-problem-steps-recorder-screen.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Vpc8YFGQ28E/UUQIUuDcigI/AAAAAAAAAYw/rHt_VduWkcU/s72-c/psr.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2013/03/windows-7-problem-steps-recorder-screen.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6697710034988814501</guid><pubDate>Mon, 20 Feb 2012 17:56:00 +0000</pubDate><atom:updated>2012-03-05T03:44:32.428-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">others</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>How to register dll</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
In this programming tutorial you will &lt;b&gt;learn how to register dll&lt;/b&gt;. It is quite easy as you just have to execute a simple command, but before knowing the command i want to tell you that you must have Administrator rights over the operating system (Windows).
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
You just have to run the following command&lt;br /&gt;
&lt;br /&gt;
regsrv32 dllname-with-its-complete-path&lt;br /&gt;
&lt;br /&gt;
you have to give dll name and its complete path where it exists, let's suppose we have a dll &lt;b&gt;iTextSharp&lt;/b&gt; and it exists in &lt;b&gt;project&lt;/b&gt; folder located in our &lt;b&gt;D&lt;/b&gt; drive then the command will be&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;regsvr32 D:\Project\iTextSharp.dll&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
That's it. I hope you will find this tutorial very handy.&lt;br /&gt;
&lt;br /&gt;
I love your feedback. &lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=4MVc9ianOeo:iqa57tMQ8XA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=4MVc9ianOeo:iqa57tMQ8XA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=4MVc9ianOeo:iqa57tMQ8XA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=4MVc9ianOeo:iqa57tMQ8XA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=4MVc9ianOeo:iqa57tMQ8XA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/4MVc9ianOeo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/4MVc9ianOeo/how-to-register-dll.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2012/02/how-to-register-dll.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4781100121947379538</guid><pubDate>Tue, 18 Oct 2011 17:34:00 +0000</pubDate><atom:updated>2011-10-18T10:34:40.832-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Uppercase and lowercase strings using jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;strong&gt;convert strings in uppercase and lowercase using jquery&lt;/strong&gt;. It is not a difficult task in jquery. Jquery has two built-in functions for handling these two cases. Those two functions are &lt;strong&gt;.toUpperCase()&lt;/strong&gt; and &lt;strong&gt;.toLowerCase()&lt;/strong&gt;. Let's have a look over the example given below that demonstrates how to do so. &lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
&lt;strong&gt;Convert string in uppercase &lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;var name="Adeel Fakhar";//Very simple
var nameUpperCase=name.toUpperCase(); 
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output&lt;/u&gt;&lt;br /&gt;
ADEEL FAKHAR&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Convert string in lowercase&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;var name="Adeel Fakhar";
var nameLowerCase=name.toLowerCase(); //Very simple
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output&lt;/u&gt;&lt;br /&gt;
adeel fakhar&lt;br /&gt;
&lt;br /&gt;
So that's it. I hope you will find this tutorial very useful.&lt;br /&gt;
&lt;br /&gt;
Stay tuned with nice-tutorials.blogspot.com for bundle of jquery tutorials.&lt;br /&gt;
&lt;br /&gt;
I love your feedback. &lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=SP4010ZX1S4:uowslrNdTAU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=SP4010ZX1S4:uowslrNdTAU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=SP4010ZX1S4:uowslrNdTAU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=SP4010ZX1S4:uowslrNdTAU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=SP4010ZX1S4:uowslrNdTAU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/SP4010ZX1S4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/SP4010ZX1S4/uppercase-and-lowercase-strings-using.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/uppercase-and-lowercase-strings-using.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8247244190087818993</guid><pubDate>Tue, 18 Oct 2011 17:00:00 +0000</pubDate><atom:updated>2011-10-18T10:17:43.423-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Add new item in dropdown using jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;strong&gt;add new item in dropdown using jquery&lt;/strong&gt;. It is quite easy in jquery. Let's have a look over the code snippet given below in which i will add a new country in dropdown when button is clicked. &lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
&lt;strong&gt;Add new item in dropdown using jquery&lt;/strong&gt;&lt;br /&gt;
&lt;u&gt;before&lt;/u&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-zn3BHjY2a_U/Tp2syCnt95I/AAAAAAAAAUc/nEM-wD3MEwo/s1600/add-new-item-1.JPG" imageanchor="1"&gt;&lt;img border="0" height="109" src="http://1.bp.blogspot.com/-zn3BHjY2a_U/Tp2syCnt95I/AAAAAAAAAUc/nEM-wD3MEwo/s320/add-new-item-1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;After&lt;/u&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-bjt3lSG71xg/Tp2tVQs0KAI/AAAAAAAAAU0/22Lee6iEwQc/s1600/add-new-item-2.JPG" imageanchor="1"&gt;&lt;img border="0" height="126" src="http://1.bp.blogspot.com/-bjt3lSG71xg/Tp2tVQs0KAI/AAAAAAAAAU0/22Lee6iEwQc/s320/add-new-item-2.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;Add new item in dropdown using jQuery&amp;lt;/title&amp;gt;
    &amp;lt;script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script type="text/javascript"&amp;gt;
        $(function () {
            $("#btnClick").click(function () {
                var newCountry = $("#txtItem").val();
                if (newCountry.length &amp;gt; 0)
                    {
                    $("#ddlCountry").append($("&amp;lt;option&amp;gt;").val(newCountry).text(newCountry));
                    $("#txtItem").val("");
                   }
            });
        });
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;div style="font-family:verdana;font-size:12px;"&amp;gt;
   New Country: &amp;lt;input type="text" id="txtItem" /&amp;gt;
 Country:&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;
 &amp;lt;select id="ddlCountry"&amp;gt;
 &amp;lt;option value="Pakistan"&amp;gt;Pakistan&amp;lt;/option&amp;gt;
 &amp;lt;option value="China"&amp;gt;China&amp;lt;/option&amp;gt;
 &amp;lt;option value="United States"&amp;gt;United States&amp;lt;/option&amp;gt;
 &amp;lt;/select&amp;gt;
        &amp;lt;input id="btnClick" type="button" value=" Add Country " /&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
In this above mentioned example, i have a textbox, a dropdown and a button in my page. Country dropdown by default contains three countries which are Pakistan, China and United States. Now for adding new country such as Australia or india, i have written a code in &lt;strong&gt;document.ready()&lt;/strong&gt;, that will execute when button's click event will be fired.&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("#ddlCountry").append($("&amp;lt;option&amp;gt;").val(newCountry).text(newCountry));
&lt;/pre&gt;
The above mentioned code snippet will dynamically add new item or in this example we can say new country to the dropdown using &lt;strong&gt;append()&lt;/strong&gt; function of jquery, which is a built-in function in jquery.&lt;br /&gt;
&lt;br /&gt;
So that's it. This is the way to add new item or element in dropdown using jquery. &lt;br /&gt;
I love your feedback.&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=KnI6LhVKvm4:YKfYuSjgcog:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=KnI6LhVKvm4:YKfYuSjgcog:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=KnI6LhVKvm4:YKfYuSjgcog:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=KnI6LhVKvm4:YKfYuSjgcog:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=KnI6LhVKvm4:YKfYuSjgcog:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/KnI6LhVKvm4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/KnI6LhVKvm4/add-new-item-in-dropdown-using-jquery.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-zn3BHjY2a_U/Tp2syCnt95I/AAAAAAAAAUc/nEM-wD3MEwo/s72-c/add-new-item-1.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/add-new-item-in-dropdown-using-jquery.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-7467221558660980970</guid><pubDate>Mon, 17 Oct 2011 17:36:00 +0000</pubDate><atom:updated>2011-10-17T10:47:43.858-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">php</category><title>Install php on windows server 2008 R2</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;strong&gt;install php on windows server 2008 R2&lt;/strong&gt;. Couple of weeks ago one of my&amp;nbsp;colleague&amp;nbsp;asked me to install php on windows server 2008 R2 as he had to deploy a website and I have done it successfully without any problem. Let’s have a look over how to accomplish our task.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana, sans-serif; font-size: small;"&gt;
Simply go to this tutorial &lt;a href="http://nice-tutorials.blogspot.com/2011/07/installing-php-on-windows-7-with-iis-7.html"&gt;Install PHP on Windows 7 with IIS 7 via FastCGI&lt;/a&gt; and that's it. You just have to repeat the steps that you have performed on Windows 7 in order to accomplish this task.
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Note:-&lt;/strong&gt;&lt;br /&gt;
Depending on your location you can set a specific &lt;strong&gt;date.timezone&lt;/strong&gt; value by setting the date.timezone property in php.ini file:&lt;br /&gt;
&lt;strong&gt;date.timezone = "US/Central"
&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Don't forget to uncomment the date.timezone by removing its&amp;nbsp;preceding&amp;nbsp;semicolon.&lt;br /&gt;
&lt;br /&gt;
So that's it.
&lt;br /&gt;
Your feedback gives me energy.&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=UY_4sVqV4Ew:m5BQppGVx6Y:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=UY_4sVqV4Ew:m5BQppGVx6Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=UY_4sVqV4Ew:m5BQppGVx6Y:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=UY_4sVqV4Ew:m5BQppGVx6Y:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=UY_4sVqV4Ew:m5BQppGVx6Y:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/UY_4sVqV4Ew" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/UY_4sVqV4Ew/install-php-on-windows-server-2008-r2.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/install-php-on-windows-server-2008-r2.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-390020963939102377</guid><pubDate>Mon, 17 Oct 2011 16:46:00 +0000</pubDate><atom:updated>2011-10-17T09:46:47.175-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Learn jquery from beginners to advanced level - part 3 (Final Part)</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Finally I am writing the third and last tutorial of this tutorial series. Again I am saying if you are new visitor and haven't read my first two tutorial of this series then please read those tutorials first. Click to &lt;a href="http://nice-tutorials.blogspot.com/2011/08/learn-jquery-from-beginners-to-advanced.html"&gt;read Part 1&lt;/a&gt; and click to &lt;a href="http://nice-tutorials.blogspot.com/2011/10/learn-jquery-from-beginners-to-advanced.html"&gt;read Part 2&lt;/a&gt;. One thing I want to ensure you is that if you read and understand all of these three tutorials then you can say yourself the expert of jquery, and you can do any task in jquery with minimum effort.  Ok. Now let's start right from there, where we were.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;strong&gt;&lt;u&gt;Events&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;When the DOM is ready…&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(document).ready(function(){
 //Your code will come here
});
&lt;/pre&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Fires when the document is ready for programming. &lt;/li&gt;
&lt;li&gt;Uses advanced listeners for detecting.&lt;/li&gt;
&lt;li&gt;window.onload() is a fallback.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;strong&gt;Attach Event&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// execute always
$("div").bind("click", fn);
// execute only once
$("div").one("click", fn);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Possible event values:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
blur, focus, load, resize, scroll, unload, beforeunload, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress, keyup, error
(or any custom event)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;jQuery.Event object&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Detaching Events&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").unbind("click", fn);&lt;/pre&gt;
&lt;br /&gt;
(Unique ID added to every attached function)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Events Triggering&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").trigger("click");&lt;/pre&gt;
&lt;br /&gt;
Triggers browser’s event action as well. Can trigger custom events. Triggered events bubble up.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Events Helpers&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// attach / trigger
elem.blur(fn) / elem.blur()
elem.focus(fn) / elem.focus()
elem.click(fn) / elem.click()
elem.change(fn) / elem.change()&lt;/pre&gt;
&lt;br /&gt;
And many others…&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Preventing Browser Default Action&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// use different triggering function
$("div").triggerHandler("click");

// prevent default action in handler
function clickHandler(e) {
 e.preventDefault();
}

// or just return false
function clickHandler(e) {return false;}

Preventing Bubbling
// stop bubbling, keep other handler
function clickHandler(e) {
 e.stopPropagation();
}

// stop bubbling and other handlers
function clickHandler(e) {
 e.stopImmediatePropagation();
}

// or just return false
function clickHandler(e) {return false;}
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Live Events (Attach events to dynamically created elements)&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// attach live event
("div").live("click", fn);
// detach live event
("div").die("click", fn);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Currently supported events:&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Effects&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Showing or Hiding Element&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// just show
$("div").show();
// reveal slowly, slow=600ms
$("div").show("slow");
// hide fast, fast=200ms
$("div").hide("fast");
// hide or show in 100ms $(“div”).toggle(100);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Sliding Elements&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").slideUp();
$("div").slideDown("fast");
$("div").slideToggle(1000);&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Fading Elements&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").fadeIn("fast");
$("div").fadeOut("normal");
// fade to a custom opacity
$("div").fadeTo ("fast", 0.5);
&lt;/pre&gt;
&lt;br /&gt;
Fading === changing opacity&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Detecting animation completion&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").hide("slow", function() {
  alert("The DIV is hidden");
});

$("div").show("fast", function() {
  $(this).html("Hello jQuery");
}); // this is a current DOM element 
&lt;/pre&gt;
&lt;br /&gt;
Every effect function has a (speed, callback) overload&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Custom Animation&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// .animate(options, duration)
$("div").animate({
    width: "90%",
    opacity: 0.5,
    borderWidth: "5px"
     }, 1000);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Chaining Animation&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").animate({width: "90%"},100)
  .animate({opacity: 0.5},200)
  .animate({borderWidth: "5px"});
&lt;/pre&gt;
&lt;br /&gt;
By default animations are queued and than performed one by one&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Controlling Animations Sync&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div")
 .animate({width: "90%"},
      {queue:false, duration:1000})
 .animate({opacity : 0.5});&lt;/pre&gt;
&lt;br /&gt;
The first animation will be performed immediately without queuing&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;AJAX with jQuery&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Loading content&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$("div").load("content.htm");
// passing parameters
$("#content").load("getcontent.aspx",
     {"id":"33","type":"main"});
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Sending GET/POST requests&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$.get("test.aspx", {id:1},
  function(data){alert(data);});

$.post("test.aspx", {id:1},
  function(data){alert(data);});&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Retrieving JSON Data&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$.getJSON("users.aspx", {id:1},
  function(users)
  {
   alert(users[0].name);
  });
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Retrieving JS Files&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$.getScript("script.js",
  function()
  {
   doSomeFunction();
  });
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;Extending the Library&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt; Adding Methods&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// definition
jQuery.fn.printLine = function(s) {
 return jQuery(this).each(function() {   this.append("&amp;lt;div&amp;gt;"+ s +"&amp;lt;/div&amp;gt;");
 });
};
// usage
$("#log").printLine("Hello");&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Closure to solve the $ issue&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;(function ($) {
  jQuery.fn.printLine = function(s) {
 return $(this).each(function() {    this.append("&amp;lt;div&amp;gt;"+ s +"&amp;lt;/div&amp;gt;");
 });
};
})(jQuery);&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Custom Selectors&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$.expr[‘:’].test = function(o, i, m, s) {
// o – current object in the selection
// i – loop index in the stack
// m – meta data about your selector
// s – stack of all the elements
// return true to include the element
// return false to exclude the element
};
&lt;/pre&gt;&lt;br/&gt;

So that's it. I tried my level best to teach you jquery from beginners to advanced level in this series of tutorials. Now  just you have to practice more and more to get a grip on jquery. &lt;br/&gt;&lt;br/&gt;

I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=bFRaM13AIr0:d7zwP9aRhxE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=bFRaM13AIr0:d7zwP9aRhxE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=bFRaM13AIr0:d7zwP9aRhxE:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=bFRaM13AIr0:d7zwP9aRhxE:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=bFRaM13AIr0:d7zwP9aRhxE:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/bFRaM13AIr0" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/bFRaM13AIr0/learn-jquery-from-beginners-to-advanced_17.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/learn-jquery-from-beginners-to-advanced_17.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5446054039461151098</guid><pubDate>Wed, 12 Oct 2011 04:19:00 +0000</pubDate><atom:updated>2011-10-11T21:27:08.782-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Learn jquery from beginners to advanced level - part 2</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn jquery from beginners to advanced level. If you are new visitor and haven't read my first tutorial of this series then first please read the tutorial &lt;a href="http://nice-tutorials.blogspot.com/2011/08/learn-jquery-from-beginners-to-advanced.html"&gt;Learn jquery from beginners to advanced level - part 1&lt;/a&gt;. Ok. Now let's start right from there, where we were.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;strong&gt;&lt;u&gt;Selectors demo&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Document Traversal&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
A Selector returns a pseudo array of jQuery objects&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“div”).length&lt;/pre&gt;
&lt;br /&gt;
Returns number of selected elements. It is the best way to check selector.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Getting a specific DOM element&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="js" name="code"&gt; $(“div”).get(2) or $(“div”)[2]&lt;/pre&gt;
&lt;br /&gt;
Returns a 2nd DOM element of the selection&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Getting a specific jQuery element&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“div”).eq(2)&lt;/pre&gt;
&lt;br /&gt;
Returns a 2nd jQuery element of the selection&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;each(fn) traverses every selected element calling fn()&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;var sum = 0;
$(“div.number”).each(
		function(){
		  sum += (+this.innerHTML);
		});
&lt;/pre&gt;
&lt;br /&gt;
this – is a current DOM element&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;each(fn) also passes an indexer &lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“table tr”).each(
	function(i){
		if (i % 2) 
			$(this).addClass(“odd”);
	});
&lt;/pre&gt;
&lt;br /&gt;
$(this) – convert DOM to jQuery i  - index of the current element&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Traversing HTML&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;.next(expr) 	// next sibling

.prev(expr)		// previous sibling

.siblings(expr)	// siblings

.children(expr) // children

.parent(expr) 	// parent
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Check for expression&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“table td”).each(function() {
	if ($(this).is(“:first-child”)) {
		$(this).addClass(“firstCol”);
	}
}); 
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Find in selected&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// select paragraph and then find 
// elements with class ‘header’ inside 
$(“p”).find(“.header”).show();

 // equivalent to:
$(“.header”, $(“p”)).show();
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Advanced Chaining&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“&amp;lt;li&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;”) // li
	.find(“span”) // span
		.html(“About Us”) // span 
		.andSelf() // span, li
			.addClass(“menu”) // span,li 
		.end() // span 
	.end() // li 
	.appendTo(“ul.main-menu”);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Get Part of Selected Result&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“div”).slice(2, 5).not(“.green”).addClass(“middle”);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;HTML Manipulation&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Getting and Setting Inner Content&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“p”).html(“&amp;lt;div&amp;gt;Hello World!&amp;lt;/div&amp;gt;”);

// escape the content of div.b
$(“div.a”).text($(“div.b”).html());
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Getting and Setting Values&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// get the value of the checked checkbox
$(“input:checkbox:checked”).val();

// set the value of the textbox
$(“:text[name=‘txt’]”).val(“Hello”);

// select or check lists or checkboxes
$(“#lst”).val([“NY”,”IL”,”NS”]);&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Handling CSS Classes&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// add and remove class
$(“p”).removeClass(“blue”).addClass(“red”);

// add if absent, remove otherwise
$(“div”).toggleClass(“main”);

// test for class existance
 if ($(“div”).hasClass(“main”)) { 
// Your code will come here

}
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Inserting new Elements&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// select &amp;gt; append to the end
$(“h1”).append(“&amp;lt;li&amp;gt;Hello World&amp;lt;/li&amp;gt;”);

// select &amp;gt; append to the beginning
$(“ul”).prepend(“&amp;lt;li&amp;gt;Hello World&amp;lt;/li&amp;gt;”);

// create &amp;gt; append/prepend to selector

$(“&amp;lt;li/&amp;gt;”).html(“9”).appendTo(“ul”);

$(“&amp;lt;li/&amp;gt;”).html(“1”).prependTo(“ul”);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Replacing Elements&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// select &amp;gt; replace
$(“h1”).replaceWith(“&amp;lt;div&amp;gt;Hello&amp;lt;/div&amp;gt;”);

// create &amp;gt; replace selection
$(“&amp;lt;div&amp;gt;Hello&amp;lt;/div&amp;gt;”).replaceAll(“h1”);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Replacing Elements while keeping the content&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“h3”).each(function(){
	$(this).replaceWith(“&amp;lt;div&amp;gt;” + $(this).html() 
					+ ”&amp;lt;/div&amp;gt;”);
	});
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Deleting Elements&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// remove all children
$(“#mainContent”).empty();

// remove selection
$(“span.names”).remove();

// change position
$(“p”).remove(“:not(.red)”).appendTo(“#main”);
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Handling attributes&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“a”).attr(“href”,”home.htm”);
// &amp;lt;a href=“home.htm”&amp;gt;…&amp;lt;/a&amp;gt;

// set the same as the first one
$(“button:gt(0)”).attr(“disabled”,$(“button:eq(0)”).attr(“disabled));
// remove attribute - enable
$(“button”).removeAttr(“disabled”)	
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Setting multiple attributes&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;$(“img”).attr({
		“src” : “/images/smile.jpg”,
		“alt” : “Smile”,
		“width”  : 10,
		“height” : 10
});
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;CSS Manipulations&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// get style
$(“div”).css(“background-color”);

// set style 
$(“div”).css(“float”, “left”);

// set multiple style properties
$(“div”).css({“color”:”blue”,
			 “padding”: “1em”
			 “margin-right”: “0”,
			 marginLeft: “10px”});
&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt; Dimensions&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// get window height
var winHeight = $(window).height();

// set element height
$(“#main”).height(winHeight);

//.width() – element
//.innerWidth() – .width() + padding

//.outerWidth() – .innerWidth() + border
//.outerWidth(true) – including margin
&lt;/pre&gt;
&lt;br /&gt;
The default unit is Pixel (px)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Positioning&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="js" name="code"&gt;// from the document
$(“div”).offset().top;

// from the parent element
$(“div”).position().left; 

// scrolling position
$(window).scrollTop(); 
&lt;/pre&gt;
&lt;br /&gt;
So that's it, i try my level best to let you &lt;b&gt;learn jquery from beginners to advanced level&lt;/b&gt; with small and handy examples. Third and Final part of this tutorial series will come soon. Stay tuned.&lt;br /&gt;
&lt;br /&gt;
Your feedback always provides me lot of energy.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=k44ah76_GqM:bwuIHyvIvPY:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=k44ah76_GqM:bwuIHyvIvPY:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=k44ah76_GqM:bwuIHyvIvPY:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=k44ah76_GqM:bwuIHyvIvPY:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=k44ah76_GqM:bwuIHyvIvPY:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/k44ah76_GqM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/k44ah76_GqM/learn-jquery-from-beginners-to-advanced.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/learn-jquery-from-beginners-to-advanced.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-2052128342045758252</guid><pubDate>Fri, 07 Oct 2011 18:34:00 +0000</pubDate><atom:updated>2011-10-07T11:42:00.656-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>ASP.NET HyperLink - Set alt tag of the image</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;b&gt;set the alt tag of an image that has been set by asp.net hyperlink&lt;/b&gt; using its &lt;b&gt;ImageUrl&lt;/b&gt; property which is&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="csharp" name="code"&gt;HyperLink.ImageUrl
&lt;/pre&gt;
&lt;br /&gt;
Couple of days ago i am working over a project in which i am fixing the issues reported by &lt;b&gt;SEO Tool Kit&amp;nbsp;&lt;/b&gt;(use for site analysis) which is installed in &lt;b&gt;IIS 7 &lt;/b&gt;(You can Install it in IIS 5 and IIS 6 as well). The SEO Tool kit is very much helpful if you want to check the errors and violations of the website that are damaging the ranking of your website or specific web pages in the search engine, especially in google. I got lot of violations about &lt;b&gt;alt tag is missing&lt;/b&gt;, when i was fixing all these violations then i got an &lt;b&gt;asp:Hyperlink&lt;/b&gt; that contains an &lt;b&gt;image which alt tag was missing&lt;/b&gt;, i checked all the possible properties of the asp:hyperlink to give alt tag to the image, like &lt;b&gt;ToolTip&lt;/b&gt; property but i was fail to achieve what i want, moreover the HyperLink control doesn't have an &lt;b&gt;AlternateText&lt;/b&gt; property.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Then surfing the internet i got the solution and it was quite easy and surprised to me. The solution was to give text between starting and ending tag of the asp:hyperlink and then that text will become the alt of the image, like given below&lt;br /&gt;
&lt;pre class="csharp" name="code"&gt;&amp;lt;asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/Images/proceed.gif" 
                        NavigateUrl="~/Welcome.aspx"&amp;gt;Proceed
&lt;/pre&gt;
&lt;br /&gt;
So that's it. The word Proceed will become the &lt;b&gt;alt tag of the image&lt;/b&gt; located inside the hyperlink.&lt;br /&gt;
&lt;br /&gt;
Stay tune with nice-tutorials.blogspot.com because in future i will write very informative and detailed tutorials about SEO Tool kit, which is used for analysis of website to improve its ranking in the major search engines. Also i will tell you how to deploy a website in windows 2008 R1, you can then open your own hosting company as well if you have servers that are capable to run the websites :). But still bottom line is to stay tune with nice-tutorials.blogspot.com
&lt;br /&gt;
&lt;br /&gt;
Do comment. Your feedback gives me energy.&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ZFFmEpAbUII:0SDpb19jT3s:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ZFFmEpAbUII:0SDpb19jT3s:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ZFFmEpAbUII:0SDpb19jT3s:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ZFFmEpAbUII:0SDpb19jT3s:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ZFFmEpAbUII:0SDpb19jT3s:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/ZFFmEpAbUII" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/ZFFmEpAbUII/aspnet-hyperlink-set-alt-tag-of-image.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/aspnet-hyperlink-set-alt-tag-of-image.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-5417928175959268121</guid><pubDate>Wed, 05 Oct 2011 17:09:00 +0000</pubDate><atom:updated>2011-10-05T10:12:40.209-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>spell checker in jquery using php</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to perform &lt;b&gt;spell checking in jquery using php&lt;/b&gt;. For this i will use a jquery plugin which is called jquery-spellchecker. By god, i have tried many spell checkers but there are lot of problems in them, some spell checkers that i like was not free of cost, some was not cross browser&amp;nbsp;compatible&amp;nbsp;then i found this spell checker which is pretty good. This jQuery plugin is&lt;span class="Apple-style-span" style="background-color: white; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px;"&gt;&amp;nbsp;used to check the spelling of a chunk of text, using &lt;b&gt;google's spell checking service&lt;/b&gt;. The plugin also gives you the option of using&amp;nbsp;&lt;a href="http://php.net/manual/en/book.pspell.php" rel="nofollow"&gt;pspell&lt;/a&gt;. If you are able to use pspell then you will have great control over your dictionary to manage spells of words&lt;/span&gt;. To communicate with google's api or pspell, php will be used.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; font-family: Verdana, sans-serif; font-size: small; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-C_cYJrT3a3w/TotDqn-Z0HI/AAAAAAAAAUU/urpCtt0E6Ew/s1600/spell-checker-3.png" imageanchor="1"&gt;&lt;img border="0" height="220" src="http://1.bp.blogspot.com/-C_cYJrT3a3w/TotDqn-Z0HI/AAAAAAAAAUU/urpCtt0E6Ew/s320/spell-checker-3.png" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
The plugin comes with 2 default behaviours:
&lt;br /&gt;
&lt;ul style="font-family: Verdana, sans-serif; font-size: small;"&gt;
&lt;li&gt;If bound to a HTML element other than textarea, the plugin will highlight the incorrectly spelt words. Clicking on those incorrect words will bring up the suggest box.&lt;/li&gt;
&lt;li&gt;If bound to a textarea element, the plugin will add the incorrectly spelt words after the textarea.&amp;nbsp;Clicking on those incorrect words will bring up the suggest box.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Server side script&lt;/b&gt;&lt;br /&gt;
As i told you above, the plugin uses PHP script that supports two type of spell checking engines: &lt;b&gt;php's pspell extension for aspell&lt;/b&gt;, or &lt;b&gt;google's spell checking services (API)&lt;/b&gt;.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;using pspell requires you to have aspell installed on the server&lt;/b&gt;, as well as the PHP pspell extension
using google requires minimal server adjustments.
&lt;br /&gt;
&lt;b&gt;Note:-&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
The example &lt;b&gt;PHP&lt;/b&gt; file uses the &lt;b&gt;json_encode&lt;/b&gt; function, which requires the &lt;b&gt;json package&lt;/b&gt;. This package comes default with PHP 5 &amp;gt;= 5.2.0. If you have an older version of PHP then you can install this package via PECL, or use a custom json library.
&lt;br /&gt;
&lt;br /&gt;
If you would like to use a different server side language, let's suppose &lt;b&gt;asp.net&lt;/b&gt; then wait for my next tutorial, i have working example of this plugin with asp.net, jquery and google's spell checking api in my system and soon it will be uploaded in the form of tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Check chunk of text:-&lt;/u&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
checkspelling.php?engine=pspell
&lt;br /&gt;
&lt;b&gt;Request:&lt;/b&gt;&lt;br /&gt;
Content type: application/x-www-form-urlencoded;charset=UTF-8&lt;br /&gt;
Data: text="a chunk of text without any punctuation"&lt;br /&gt;
&lt;b&gt;Response:&lt;/b&gt;&lt;br /&gt;
Content type: application/json&lt;br /&gt;
Example response: ["bbad","speltt","wwords"]&lt;br /&gt;
Get suggestions for a word:&lt;br /&gt;
&lt;br /&gt;
checkspelling.php?engine=pspell&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Request:&lt;/b&gt;&lt;br /&gt;
Content type: application/x-www-form-urlencoded;charset=UTF-8&lt;br /&gt;
Data: suggest="word"&lt;br /&gt;
&lt;b&gt;Response:&lt;/b&gt;&lt;br /&gt;
Content type: application/json&lt;br /&gt;
Example response: ["suggest","snuggest","soggiest"]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Supported languages&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pspell&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
What is pspell??? Good question, ok :) Pspell is simply a php wrapper to the GNU aspell spell checker. So supporting large range of languages is as easy as installing the relevant aspell language dictionary. These dictionary packs are available in most GNU/Linux distro repositories. In debian/ubuntu, you can install a new dictionary in a following way:
&lt;br /&gt;
&lt;b&gt;sudo apt-get install aspell-LANG&lt;/b&gt;
&lt;br /&gt;
(you have to replace LANG with the language code)
&lt;br /&gt;
&lt;br /&gt;
If you want to search for a particular language dictionary then you can use apt-cache:
&lt;br /&gt;
&lt;b&gt;sudo apt-cache search aspell&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
or view the aspell supported languages page.
&lt;br /&gt;
&lt;br /&gt;
Don't&amp;nbsp;forget to restart apache after successfully installation of new dictionaries. If you having problems getting pspell to work with personal dictionaries, view the php errors!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:- &lt;/b&gt;Aspell also works like charm in windows
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Google API&lt;/b&gt;
&lt;br /&gt;
I couldn't find any information for the languages google supports, but probably there are lot of languages and in my next tutorial you will see that i will use asp.net with google api to perform spell checking via this jquery plugin.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Usage&lt;/b&gt;
&lt;br /&gt;
Include the following in the head section of your html document:
&lt;br /&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;link href="css/spellchecker.css" media="screen" rel="stylesheet" type="text/css"&amp;gt;&amp;lt;/link&amp;gt;
&amp;lt;script src="js/jquery.js" type="text/javascript"&amp;gt;
&amp;lt;/script&amp;gt;
&amp;lt;script src="js/jquery.spellchecker.js" type="text/javascript"&amp;gt;
&amp;lt;/script&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Defaut usage&lt;/b&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;// initiate the spell checker on an element, fire the 'check' function
$("textarea#text-content").spellchecker("check");
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Plugin options: (all optional)&lt;/b&gt;
&lt;br /&gt;
&lt;pre class="php" name="code"&gt;$("textarea#text-content")
.spellchecker({
        url: "checkspelling.php",       // default spellcheck url
        lang: "en",                     // default language 
        engine: "pspell",               // pspell or google
        addToDictionary: false,         // display option to add word to dictionary (pspell only)
        wordlist: {
                action: "after",               // which jquery dom insert action
                element: $("#text-content")    // which object to apply above method
        },      
        suggestBoxPosition: "below",    // position of suggest box; above or below the highlighted word
        innerDocument: false            // if you want the badwords highlighted in the html then set to true
});
&lt;/pre&gt;
&lt;br /&gt;
You only want to execute the above code after an event has occured:
&lt;br /&gt;
&lt;pre class="php" name="code"&gt;// initiating the spell checker is not necessary if using the default plugin options
$("a.check-spelling").click(function(e){
        e.preventDefault();
        $("textarea#text-content").spellchecker("check");
});
&lt;/pre&gt;
&lt;br /&gt;
This jquery plugin will fire off a callback function after it has finished checking words:
&lt;br /&gt;
&lt;pre class="php" name="code"&gt;$("a.check-spelling").click(function(e){
        e.preventDefault();
        $("textarea#text-content").spellchecker("check", function(result){
                // if result is true then there are no incorrectly spelt words
                if (result) alert('There are no incorrectly spelt words.');
        });
});
&lt;/pre&gt;
&lt;br /&gt;
And for removing all spellchecker html, just do the following:
&lt;br /&gt;
&lt;pre class="php" name="code"&gt;$("textarea#text-content").spellchecker("remove");
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Source
&lt;br /&gt;
&lt;a href="http://code.google.com/p/jquery-spellchecker/source/checkout" rel="nofollow"&gt;jquery.spellchecker&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Simple Demo&lt;br /&gt;
&lt;a href="http://spellchecker.jquery.badsyntax.co.uk/example.html" rel="nofollow"&gt;Demo&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
So that's it. I hope you will love this &lt;b&gt;spell checker in jquery using php&lt;/b&gt;.&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ViWlrRCTrJ4:A3UXIZVvd-E:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ViWlrRCTrJ4:A3UXIZVvd-E:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ViWlrRCTrJ4:A3UXIZVvd-E:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=ViWlrRCTrJ4:A3UXIZVvd-E:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=ViWlrRCTrJ4:A3UXIZVvd-E:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/ViWlrRCTrJ4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/ViWlrRCTrJ4/spell-checker-in-jquery-with-php.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-C_cYJrT3a3w/TotDqn-Z0HI/AAAAAAAAAUU/urpCtt0E6Ew/s72-c/spell-checker-3.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/10/spell-checker-in-jquery-with-php.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6420014357176806538</guid><pubDate>Fri, 30 Sep 2011 19:58:00 +0000</pubDate><atom:updated>2011-09-30T12:58:50.159-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">technology news</category><title>Firefox 7 release - Enjoy better browsing</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Another release of firefox in this year - Firefox 7. &lt;b&gt;Firefox 7 has been released by Mozilla&lt;/b&gt; at 27 September 2011.&amp;nbsp;Firefox 7 is actually the first version of the rapid release cycle that is showing big improvements over previous versions. Mozilla claims in its official website about Firefox 7 in these wordings "&lt;b&gt;Made to make the Web a better place&lt;/b&gt;".
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-CcZjUYAnlRs/ToYaFJxLFLI/AAAAAAAAAUM/r9nrmcQmzyI/s1600/firefox-7-release.JPG" imageanchor="1"&gt;&lt;img border="0" height="220" src="http://4.bp.blogspot.com/-CcZjUYAnlRs/ToYaFJxLFLI/AAAAAAAAAUM/r9nrmcQmzyI/s320/firefox-7-release.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Firefox 7 arrives with lot of new features. Mozilla managed to improve memory usage of the Firefox drastically (that’s the organization’s word), courtesy of Mozilla's MemShrink project. According to blog post by &lt;a href="http://hacks.mozilla.org/2011/09/firefox-7-is-lean-and-fast/" rel="nofollow"&gt;Nicholas Nethercoate&lt;/a&gt; over at Mozilla:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Firefox 7 uses less memory than Firefox 6 (and 5 and 4)&lt;/b&gt;: often 20% to 30% less, even in some cases 50% less. In particular, Firefox 7′s memory usage will stay steady if you leave it running overnight, and it will free up more memory when you close many tabs.&lt;br /&gt;
&lt;br /&gt;
Saving 50% memory usage is a big achievement. Probably even more important is that the browser won’t feel like eating up all the RAM over time anymore, which is definitely a super stuff, considering that the browser has a reputation for being memory inefficient.&lt;br /&gt;
&lt;br /&gt;
The change log lists addition features
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Better Javascript garbage collection.&lt;/li&gt;
&lt;li&gt;Rendering backend that speeds up Canvas operations on Windows. Implements Azure Direct2D for Canvas which increases canvas-based animations in HTML5.&lt;/li&gt;
&lt;li&gt;Support for text-overflow: ellipsis.&lt;/li&gt;
&lt;li&gt;Web Timing specification.&lt;/li&gt;
&lt;li&gt;Faster bookmark.&lt;/li&gt;
&lt;li&gt;Password changes syncing when using Firefox Sync.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to the memory improvements, there are also are &lt;b&gt;fixes for 11 security vulnerabilities in Firefox 7&lt;/b&gt;, including eight critical flaws.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-45.html" rel="nofollow"&gt;MFSA 2011-45&lt;/a&gt; Inferring Keystrokes from motion data&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-44.html" rel="nofollow"&gt;MFSA 2011-44&lt;/a&gt; Use after free reading OGG headers&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-43.html" rel="nofollow"&gt;MFSA 2011-43&lt;/a&gt; loadSubScript unwraps XPCNativeWrapper scope parameter&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-42.html" rel="nofollow"&gt;MFSA 2011-42&lt;/a&gt; Potentially exploitable crash in the YARR regular expression library&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-41.html" rel="nofollow"&gt;MFSA 2011-41&lt;/a&gt; Potentially exploitable WebGL crashes&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-40.html" rel="nofollow"&gt;MFSA 2011-40&lt;/a&gt; Code installation through holding down Enter&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-39.html" rel="nofollow"&gt;MFSA 2011-39&lt;/a&gt; Defense against multiple Location headers due to CRLF Injection&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-38.html" rel="nofollow"&gt;MFSA 2011-38&lt;/a&gt; XSS via plugins and shadowed window.location object&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-37.html" rel="nofollow"&gt;MFSA 2011-37&lt;/a&gt; Integer underflow when using JavaScript RegExp&lt;br /&gt;
&lt;a href="https://www.mozilla.org/security/announce/2011/mfsa2011-36.html" rel="nofollow"&gt;MFSA 2011-36&lt;/a&gt; Miscellaneous memory safety hazards (rv:7.0 / rv:1.9.2.23)&lt;br /&gt;
&lt;br /&gt;
Enjoy web browsing with firefox 7.

&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=xP_YNwrJp3k:2ex4JeDmQN8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=xP_YNwrJp3k:2ex4JeDmQN8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=xP_YNwrJp3k:2ex4JeDmQN8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=xP_YNwrJp3k:2ex4JeDmQN8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=xP_YNwrJp3k:2ex4JeDmQN8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/xP_YNwrJp3k" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/xP_YNwrJp3k/firefox-7-release-enjoy-better-browsing.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-CcZjUYAnlRs/ToYaFJxLFLI/AAAAAAAAAUM/r9nrmcQmzyI/s72-c/firefox-7-release.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/firefox-7-release-enjoy-better-browsing.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6732851515512966726</guid><pubDate>Tue, 27 Sep 2011 08:23:00 +0000</pubDate><atom:updated>2011-09-27T01:23:21.420-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">technology news</category><title>Google is celebrating 13th Birthday with doodle</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Today &lt;b&gt;Google is celebrating 13th Birthday with doodle&lt;/b&gt;. The search engine giant and number one website (alexa rating) on the internet, Google has just turned 13 today and celebrating by dedicating itself a &lt;b&gt;Google birthday Doodle&lt;/b&gt;, marking the 13th anniversary of awesomeness.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/--hCvwJI9_r4/ToGG0UWxANI/AAAAAAAAAUE/q79Jrimid9s/s1600/Googles_13th_Birthday-2011-hp.jpg" imageanchor="1"&gt;&lt;img border="0" height="182" src="http://2.bp.blogspot.com/--hCvwJI9_r4/ToGG0UWxANI/AAAAAAAAAUE/q79Jrimid9s/s320/Googles_13th_Birthday-2011-hp.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Its my perception that no one cannot imagine life without Google. Google search along with its many other awesome services are playing an important role in our life. People love to use Gmail, people love to use Google Adsense, people love to use Google Docs, people love to use Google Analytics, People love to use Blogger and now &lt;b&gt;google has officially launched Google Plus which is targeting Social Network giant the Facebook&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Research conducted by Nielsen earlier this month showed that US internet surfers spend more time on Facebook than any other website on internet&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
At the same time, Google is enjoying a 90% share of the global internet search market, according to the most recent figures from metrics firm &lt;b&gt;StatsCounter&lt;/b&gt;, although its share varies considerably by country yet Google is number one in Search Engine market.&lt;br /&gt;
&lt;br /&gt;
The seed bowed by &lt;b&gt;Larry Page&lt;/b&gt;, &lt;b&gt;Sergey Brin&lt;/b&gt;, and &lt;b&gt;Eric Schmidt&lt;/b&gt; – the three key persons who founded &lt;b&gt;Google in September 1998&lt;/b&gt;, is now become a tree which is giving the shadow and fruits to the world at same time.  “Google” itself has become a synonym for “web search”.&lt;br /&gt;
&lt;br /&gt;
Well done Google. Keep Going.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=TUI0_2GF73U:QNKVD_yA-PU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=TUI0_2GF73U:QNKVD_yA-PU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=TUI0_2GF73U:QNKVD_yA-PU:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=TUI0_2GF73U:QNKVD_yA-PU:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=TUI0_2GF73U:QNKVD_yA-PU:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/TUI0_2GF73U" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/TUI0_2GF73U/google-is-celebrating-13th-birthday.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--hCvwJI9_r4/ToGG0UWxANI/AAAAAAAAAUE/q79Jrimid9s/s72-c/Googles_13th_Birthday-2011-hp.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/google-is-celebrating-13th-birthday.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-6942279011005718889</guid><pubDate>Mon, 26 Sep 2011 17:27:00 +0000</pubDate><atom:updated>2011-09-26T10:27:10.690-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Set alt attribute to images dynamically using jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial, we will learn how to &lt;b&gt;set alt attribute to images dynamically using jquery&lt;/b&gt;. Once again i say, in jquery doing so is quite easy :). Let's have a look over how to do so.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;pre class="js" name="code"&gt;    &amp;lt;script language="javascript" type="text/javascript"&amp;gt;
        $(document).ready(function () {
            $("img:not([alt])").each(function () {
		$(this).attr('alt', 'image here');
                //alert($(this).attr("src"));
            });
        }); 
        &amp;lt;/script&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
By using the jquery's built-in &lt;b&gt;attr()&lt;/b&gt; function,  the above mentioned code snippet will check each and every image in the body of your web page and assign alt attribute dynamically to those images in which alt attribute is missing. Right now i am assigning &lt;b&gt;image here&lt;/b&gt; as a hard coded value of alt attribute, but you can assign the &lt;b&gt;image name&lt;/b&gt; as a value of alt attribute as well, depends upon your requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:-&lt;/b&gt; After applying the above mentioned code, please check the required change in source code by using &lt;b&gt;firebug&lt;/b&gt; because if you check the source code by right clicking the web page then you will not find any change made by the above mentioned code, as jquery doesn't change the original html of the web page. I can understand most of you are well aware of firebug but those my brothers that don't know about firebug, definitely i will write a tutorial for them very soon.&lt;br /&gt;
&lt;br /&gt;
So that's it. I hope you will find this tutorial very handy.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yoXNIvl4sRo:X0T7qj-KCn4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yoXNIvl4sRo:X0T7qj-KCn4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yoXNIvl4sRo:X0T7qj-KCn4:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yoXNIvl4sRo:X0T7qj-KCn4:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yoXNIvl4sRo:X0T7qj-KCn4:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/yoXNIvl4sRo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/yoXNIvl4sRo/set-alt-attribute-to-images-dynamically.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/set-alt-attribute-to-images-dynamically.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-3491394404255106973</guid><pubDate>Mon, 26 Sep 2011 16:54:00 +0000</pubDate><atom:updated>2011-09-26T09:55:00.233-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">php</category><title>How to increase uplaod file size in php</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to increase upload file size in php. Doing so is quite easy in php by changing some default values in &lt;b&gt;php.ini file&lt;/b&gt; or in &lt;b&gt;.htaccess file&lt;/b&gt;, depends upon your hosting situation. php.ini file is the configuration file that contains all the settings related to your website. So let's have a look over how to accomplish what we want.

&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;b&gt;How to increase uplaod file size in php&lt;/b&gt;&lt;br /&gt;
You have to update the values of &lt;b&gt;post_max_size&lt;/b&gt; and &lt;b&gt;upload_max_filesize&lt;/b&gt; in php.ini file. Since &lt;i&gt;post_max_size&lt;/i&gt; is the limit for all the content of your post, many developers want &lt;i&gt;post_max_size&lt;/i&gt; to be a multiple of &lt;i&gt;upload_max_filesize&lt;/i&gt; to allow multiple files to be uploaded, but this is not necessary. The upload module limits the size of a single attachment to be less than either &lt;i&gt;post_max_size&lt;/i&gt;, or &lt;i&gt;upload_max_filesize&lt;/i&gt;, whichever is smaller. &lt;b&gt;The default value for upload_max_filesize is 2 MB&lt;/b&gt;, and &lt;b&gt;default value for post_max_size is 8 MB&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
For instance, to increase the limit on uploaded files to 10 MB:&lt;br /&gt;
&lt;br /&gt;
Perform below mentioned changes to the php.ini file. Remember, for some hosts this is a system-wide setting.
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;upload_max_filesize = 10M&lt;/li&gt;
&lt;li&gt;post_max_size = 10M&lt;/li&gt;
&lt;/ul&gt;
So that's it. I hope you will find this tutorial very handy.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=VKnX0NWtQWE:J4qgj0YQPU8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=VKnX0NWtQWE:J4qgj0YQPU8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=VKnX0NWtQWE:J4qgj0YQPU8:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=VKnX0NWtQWE:J4qgj0YQPU8:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=VKnX0NWtQWE:J4qgj0YQPU8:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/VKnX0NWtQWE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/VKnX0NWtQWE/how-to-increase-uplaod-file-size-in-php.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/how-to-increase-uplaod-file-size-in-php.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8542408553820592874</guid><pubDate>Sat, 24 Sep 2011 05:18:00 +0000</pubDate><atom:updated>2011-09-23T22:18:50.798-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>How to set attribute of any element in jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Sometimes it becomes our requirement to &lt;b&gt;set the attribute of any element using jquery&lt;/b&gt;. For instance, in my next tutorial i will teach you how to set the &lt;i&gt;alt&lt;/i&gt; attribute of images that doesn't contain the &lt;i&gt;alt &lt;/i&gt;attribute. Its very easy in jquery by using its &lt;b&gt;attr()&lt;/b&gt; function which is built-in in jquery.Let's have a look over the example given below.

&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;b&gt;How to set attribute of any element in jquery&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;script src="http://code.jquery.com/jquery-latest.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;style type="text/css"&amp;gt;
.divclass{
font-family:verdana;
font-size:12px;
color:green;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div id="myDiv"&amp;gt;Welcome to nice-tutorials.blogspot.com&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
	&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;script language="javascript" type="text/javascript"&amp;gt;
$("#myDiv").attr('class', 'divclass');
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;Welcome to nice-tutorials.blogspot.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In the above mentioned code snippet i have decalred a css class which is &lt;b&gt;divclass&lt;/b&gt; and then by using built-in &lt;b&gt;attr()&lt;/b&gt; function of jquery i assigned divclass to the div having id of &lt;b&gt;myDiv&lt;/b&gt;. &lt;i&gt;Using this behavior of attr() function we can set one or more attributes for the set of matched elements&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
So that's it.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yIWyCZOKk6Q:wX2LVNz9jbI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yIWyCZOKk6Q:wX2LVNz9jbI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yIWyCZOKk6Q:wX2LVNz9jbI:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=yIWyCZOKk6Q:wX2LVNz9jbI:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=yIWyCZOKk6Q:wX2LVNz9jbI:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/yIWyCZOKk6Q" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/yIWyCZOKk6Q/how-to-set-attribute-of-any-element-in.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/how-to-set-attribute-of-any-element-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8587791077749016425</guid><pubDate>Sat, 24 Sep 2011 04:53:00 +0000</pubDate><atom:updated>2011-09-23T21:55:46.841-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Get class name of any element in jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to get class name of any element in jquery. It is quite easy in jquery by utilizing its built-in &lt;b&gt;attr()&lt;/b&gt; function. This &lt;b&gt;attr()&lt;/b&gt; function is quite handy. Let's have a look over the following code snippet.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Get class name of any element in jquery
&lt;br /&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;script src="http://code.jquery.com/jquery-latest.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;style type="text/css"&amp;gt;
.divclass{
font-family:verdana;
font-size:12px;
color:green;
}
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div id="myDiv" class="divclass"&amp;gt;Welcome to nice-tutorials.blogspot.com&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
	&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;script language="javascript" type="text/javascript"&amp;gt;
var divClassName=$("#myDiv").attr("class");
$("span").html("Div's class is &amp;lt;strong&amp;gt;"+divClassName+"&amp;lt;/strong&amp;gt;")
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
&lt;span style="color: green;"&gt;Welcome to nice-tutorials.blogspot.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Div's class is &lt;b&gt;divclass&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In the above given code snippet i declare a css class&lt;b&gt; .divclass&lt;/b&gt; and assign it to the div &lt;b&gt;myDiv&lt;/b&gt; then using built-in &lt;b&gt;attr()&lt;/b&gt; function of jquery i get the class name and display the class name in the span just after the div element. &lt;b&gt;attr() function gets the value of an attribute for the first element in the set of matched elements.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
So that's it. This is the way to get class name of any element in jquery.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.&lt;br /&gt;
&lt;br /&gt;
Stay tune with nice-tutorials.blogspot.com&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=uI5EvJSw34E:ifggs4I8qcw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=uI5EvJSw34E:ifggs4I8qcw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=uI5EvJSw34E:ifggs4I8qcw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=uI5EvJSw34E:ifggs4I8qcw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=uI5EvJSw34E:ifggs4I8qcw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/uI5EvJSw34E" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/uI5EvJSw34E/get-class-name-of-any-element-in-jquery.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/get-class-name-of-any-element-in-jquery.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-4162454883611474243</guid><pubDate>Fri, 23 Sep 2011 19:39:00 +0000</pubDate><atom:updated>2011-09-23T21:54:17.633-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Remove a word in a text using jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to remove a word in a text using jquery. Jquery is very powerful and we can achieve this task quite easily in it with the help of built-in &lt;b&gt;replace()&lt;/b&gt; function. Let's have a look over the following code snippet that illustrates how to do so.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;b&gt;Remove a word in a text using jquery&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;script src="http://code.jquery.com/jquery-latest.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div id="myDiv"&amp;gt;Welcome to nice-tutorials.blogspot.com&amp;lt;/div&amp;gt;

&amp;lt;script langiage="javascript" type="text/javascript"&amp;gt;
var el = $("#myDiv");
//replace(/word to remove/ig, "");
el.html(el.html().replace(/to/ig, ""));
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;
In the above given example we are removing the word &lt;b&gt;to&lt;/b&gt; from div's inner html, so the output will be&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Welcome nice-tutorials.blogspot.com&lt;br /&gt;
&lt;br /&gt;
So that's it. This is the process to remove a word in a text using jquery.&lt;br /&gt;
&lt;br /&gt;
I always love your feedback.&lt;br /&gt;
&lt;br /&gt;
Stay tune with nice-tutorials.blogspot.com for millions of tutorials of jquery :)
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=XIT4SDUn1Fw:IxCog1Ls3bo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=XIT4SDUn1Fw:IxCog1Ls3bo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=XIT4SDUn1Fw:IxCog1Ls3bo:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=XIT4SDUn1Fw:IxCog1Ls3bo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=XIT4SDUn1Fw:IxCog1Ls3bo:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/XIT4SDUn1Fw" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/XIT4SDUn1Fw/remove-word-in-text-using-jquery.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/remove-word-in-text-using-jquery.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-62119309187913093</guid><pubDate>Fri, 23 Sep 2011 05:22:00 +0000</pubDate><atom:updated>2011-09-22T22:22:23.315-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">technology news</category><title>Facebook updates its friend list system targeting Google+</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;b&gt;Facebook has updated its Friend Lists system&lt;/b&gt; to target Google Plus's Circles features&lt;b&gt;&lt;/b&gt;.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-0a3ErWlxGeQ/TnwUbS0t2qI/AAAAAAAAAT0/sNsn_tgHZuU/s1600/facebook-update-friends-list.jpg" imageanchor="1"&gt;&lt;img border="0" height="171" src="http://1.bp.blogspot.com/-0a3ErWlxGeQ/TnwUbS0t2qI/AAAAAAAAAT0/sNsn_tgHZuU/s320/facebook-update-friends-list.jpg" width="304" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
By adding this, users will now have more control over how their connections are 
grouped, with some lists, such as family and work, created automatically.&lt;br /&gt;
&lt;br /&gt;
Although Facebook remains the world's most popular social network, &lt;b&gt;Google+ is expected to hit 100m users this year&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
The company has been rolling out a range of new features in recent weeks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The new &lt;b&gt;Smart Lists&lt;/b&gt; feature of facebook will create categories totally based on the relationship between a user and their friends. For example, anyone sharing the same workplace will be designated a colleague. Likewise school friends. New &lt;b&gt;"close friends"&lt;/b&gt; and &lt;b&gt;"acquaintances"&lt;/b&gt; lists will allow Facebook members to filter who they see updates from.&lt;br /&gt;
&lt;br /&gt;
There will be inevitable comparisons to the widely praised 
&lt;b&gt;Circles feature on Google's social network&lt;/b&gt;, which lets users group 
together people they are following.&lt;br /&gt;
&lt;br /&gt;
Anyway Mike Schroepfer, Facebook's vice president of engineering said the changes were part of the site's gradual evolution. "We've had friend lists since 2007. Groups we made in 2010. 
We've been experimenting with lots of different ways to share for many, 
many years now," he told BBC News.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Is Twitter threatening?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-VzgUw_LMucg/TnwVeUw3HII/AAAAAAAAAT8/2F89V0k1f3E/s1600/twitter.jpg" imageanchor="1"&gt;&lt;img border="0" height="299" src="http://3.bp.blogspot.com/-VzgUw_LMucg/TnwVeUw3HII/AAAAAAAAAT8/2F89V0k1f3E/s320/twitter.jpg" width="224" /&gt;&lt;/a&gt;&lt;/div&gt;
While the new friend list setting are an apparently minor change to an existing system, their introduction may provide clues to Facebook's longer term strategy.&lt;br /&gt;
&lt;br /&gt;
On a superficial level, the changes appear to be aimed at users who are attracted by the ability to create groups using Google Circles.&lt;br /&gt;
&lt;br /&gt;
However, coupled with recent updates to the system for sharing content on Facebook, there is also a challenge to Twitter.&lt;br /&gt;
By encouraging users to think about attaching different privacy levels to things they post, and to categorise whose status updates they see, Facebook seems to be preparing to encourage more public feeds, visible to anyone online.&lt;br /&gt;
Such a strategy could ultimately lead to a Twitter-style "follow" system, where users can sign-up to updates from non friends.&lt;br /&gt;
Facebook's Mike Schroepfer said that the company would always offer the option to remain private.&lt;br /&gt;
&lt;br /&gt;
"There are things that people share that they don't want others to see - a personal thought or something with their family, and there is no value in having that shared more publicly," he said.&lt;br /&gt;
&lt;br /&gt;
However, he hinted that more public postings would also play a part in the site's future.&lt;br /&gt;
&lt;br /&gt;
"There's definitely a value in serendipity and getting a chance to connect people. That's a lot of what our product is about."&lt;br /&gt;
&lt;br /&gt;
Courtesy of &lt;a href="http://www.bbc.co.uk/"&gt;bbc&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=qQVzuDp9HWs:KwcmatKna9w:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=qQVzuDp9HWs:KwcmatKna9w:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=qQVzuDp9HWs:KwcmatKna9w:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=qQVzuDp9HWs:KwcmatKna9w:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=qQVzuDp9HWs:KwcmatKna9w:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/qQVzuDp9HWs" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/qQVzuDp9HWs/facebook-updates-its-friend-list-system.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-0a3ErWlxGeQ/TnwUbS0t2qI/AAAAAAAAAT0/sNsn_tgHZuU/s72-c/facebook-update-friends-list.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/facebook-updates-its-friend-list-system.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8607760821359904677</guid><pubDate>Wed, 21 Sep 2011 19:22:00 +0000</pubDate><atom:updated>2011-09-21T12:22:49.494-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Get the total number of matched elements in jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to get the total number of matched elements in jquery. As we all know, jquery is a very powerful javascript library and its selectors play very vital role to select any DOM element. In some cases we need to know the total number of matched elements, for this, let's have a look over the following code snippet.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;pre class="html" name="code"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;script src="http://code.jquery.com/jquery-latest.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
	&amp;lt;div&amp;gt;Welcome to nice-tutorials.blogspot.com&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
	&amp;lt;div&amp;gt;Welcome to nice-tutorials.blogspot.com&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;
	&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;

&amp;lt;script language="javascript" type="text/javascript"&amp;gt;
$("span").html("There are &amp;lt;strong&amp;gt;" + $("div").size() + "&amp;lt;/strong&amp;gt; divs in this page.");

&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Welcome to nice-tutorials.blogspot.com&lt;br /&gt;
Welcome to nice-tutorials.blogspot.com&lt;br /&gt;
There are &lt;b&gt;2&lt;/b&gt; divs in this page.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Note:-&lt;/u&gt;&lt;br /&gt;
The &lt;b&gt;.size() method&lt;/b&gt; is functionally equivalent to the &lt;a href="http://nice-tutorials.blogspot.com/2011/06/how-to-check-whether-element-exists.html"&gt;&lt;b&gt;.length property;&lt;/b&gt;&lt;/a&gt; however, the &lt;b&gt;.length &lt;/b&gt;property is recommended because it does not have the overhead of a function call.&lt;br /&gt;
&lt;br /&gt;
So that's it. This is the code to &lt;b&gt;get the total number of matched elements in jquery&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
I love your feedback. &lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=nony2mXpAW4:QMzRqk3irHw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=nony2mXpAW4:QMzRqk3irHw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=nony2mXpAW4:QMzRqk3irHw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=nony2mXpAW4:QMzRqk3irHw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=nony2mXpAW4:QMzRqk3irHw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/nony2mXpAW4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/nony2mXpAW4/get-total-number-of-matched-elements-in.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/get-total-number-of-matched-elements-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-8195576122387318595</guid><pubDate>Wed, 21 Sep 2011 18:39:00 +0000</pubDate><atom:updated>2011-09-21T11:40:01.914-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jquery</category><title>Disable right click contextual menu in jquery</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;b&gt;disable right click contextual menu in jquery&lt;/b&gt;. Jquery is a very powerful javascript library and makes things very easier to work with. So let's have a look over how to do so.

&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;pre class="js" name="code"&gt;$(document).ready(function(){
 $(document).bind("contextmenu",function(e){
        return false;
    });

});
&lt;/pre&gt;
So that's it, this above written jquery code snippet will disable right click contextual menu, moreover, it will also &lt;b&gt;disable the contextual menu when you press key(Application Key)&lt;/b&gt; between the &lt;b&gt;alt &lt;/b&gt;and &lt;b&gt;ctrl&lt;/b&gt; keys in &lt;b&gt;QWERTY &lt;/b&gt;keyboard of your pc.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=lf7pKpT4vrc:K6pGXkKiMRA:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=lf7pKpT4vrc:K6pGXkKiMRA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=lf7pKpT4vrc:K6pGXkKiMRA:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=lf7pKpT4vrc:K6pGXkKiMRA:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=lf7pKpT4vrc:K6pGXkKiMRA:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/lf7pKpT4vrc" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/lf7pKpT4vrc/disable-right-click-contextual-menu-in.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/disable-right-click-contextual-menu-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-3886787432926499803</guid><pubDate>Mon, 19 Sep 2011 18:02:00 +0000</pubDate><atom:updated>2011-09-19T11:19:53.173-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">asp.net</category><title>Server.Transfer vs Response.Redirect</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn the difference between server.transfer and response.redirect. Server and Response both are objects in ASP.NET use for redirecting the users from one page to another or from one website to another website. Server object provides methods and properties for various tasks related to a server. &lt;b&gt;Transfer is a method of the Server object &lt;/b&gt;&lt;b&gt;and it sends information of the current state to another .aspx file for processing&lt;/b&gt;. Response object describes methods and properties related to a server’s response. Redirect is a method of the Response object and it sends a message to the browser making it connect to a different URL. Although both the Server.Transfer and Response.Redirect can be used to transfer a user from one page to another yet they are different to each other.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;b&gt;What is Response.Redirect?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Redirect is a method of the Response object. When the Response method is called, it sends the HTTP code 302 and the URL of the requested web page to the user's browser. &lt;i&gt;The HTTP code 302 informs the user’s browser that the requested resource is located under a different URL&lt;/i&gt;. So when the browser receives the code, it instantly opens the resource in the new location. The requested web page can reside on the same server (Same Website) as the page that contained the request or it could be located in some other server (Some other website). When requesting a web page residing on the same server, Response method can be used as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="csharp" name="code"&gt;Response.Redirect(“Welcome.aspx”);&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
When requesting a web page residing on another server (another website), Response method can be used as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="csharp" name="code"&gt;Response.Redirect(“http://www.yourwebsite.com/Welcome.aspx”);&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is Server.Transfer?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Transfer is a method of the Server Object. When the Transfer method is called, the original request is modified to transfer in to some other page in the same server. &lt;b&gt;When a new page is requested using the Server.Transfer, URL shown in the user’s browser does not change&lt;/b&gt;. This is because the transfer happens in the server side and the browser does not have any knowledge about the transfer. If we use the second overload for Server.Transfer(string path, bool preserveForm) and sets the second parameter as true, posted form variables and query strings can be made available to the second page.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Difference between Server.Transfer and Response.Redirect&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Response.Redirect can be used to redirect the user to a web page in another server (another website) whereas Server.Transfer can only be used to redirect the user to web pages on the same server (same website).&lt;/li&gt;
&lt;li&gt;Response.Redirect makes a roundtrip to the server, while Server.Transfer changes the focus of the web server to a different web page. Therefore, by using Server.Transfer we can save server's resources.&lt;/li&gt;
&lt;li&gt;Transfer, properties of the previous page can be accessed from the new page but this is only possible with server.transfer.&lt;/li&gt;
&lt;li&gt;Finally, Response.Redirect changes the URL in the address bar of the browser when the new page is accessed but when using the Server.Transfer the original URL is retained and the content of the page is just changed. So the user cannot use it to bookmark the new page as it always refer to the first content that comes with that url.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
So that's it. I hope you know better understand the &lt;b&gt;difference between Response.Redirect and Server.Transfer&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=2mgBQAAPCT4:_JqqP8C3drw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=2mgBQAAPCT4:_JqqP8C3drw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=2mgBQAAPCT4:_JqqP8C3drw:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=2mgBQAAPCT4:_JqqP8C3drw:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=2mgBQAAPCT4:_JqqP8C3drw:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/2mgBQAAPCT4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/2mgBQAAPCT4/servertransfer-vs-responseredirect.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/servertransfer-vs-responseredirect.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-1692266851016101183</guid><pubDate>Sat, 17 Sep 2011 04:59:00 +0000</pubDate><atom:updated>2011-09-16T21:59:06.169-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ms sql server</category><title>format date time in sql server using getdate() function</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
In this programming tutorial we will learn how to &lt;b&gt;format date or date time in sql server&lt;/b&gt;. As a web developer i know how important this task is because at any time we may get request from our client to display date in any report of our project according to the format that suits him. We must know different formats of date time. So let's have a look over how to do so.
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
&lt;h1 style="font-family: Verdana,sans-serif; font-size: small;"&gt;


format date time in sql server using getdate() function&lt;/h1&gt;
&lt;br /&gt;
Here's a list of the different date formats that come standard in SQL Server as part of the CONVERT function. It is important to note that the output of these date formats are of &lt;b&gt;VARCHAR&lt;/b&gt; data types, so if you have to compare any dates that are in &lt;b&gt;varchar&lt;/b&gt; data type then again you have to convert them in &lt;b&gt;datetime&lt;/b&gt;  data type.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 100)  -- mon dd yyyy hh:mmAM (or PM)
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Sep 16 2011  5:55PM &lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 101)  --mm/dd/yyyy 
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
09/16/2011   &lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 102)  --yyyy.mm.dd 
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011.09.16 &lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 105)  --dd-mm-yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
16-09-2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 106)  --dd mon yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
16 Sep 2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 107)  --mon dd, yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Sep 16, 2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 103)  --dd/mm/yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
16/09/2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 104)  --dd.mm.yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
16.09.2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 108)  --hh:mm:ss&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
17:57:08&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 109)  --mon dd yyyy hh:mm:ss:mmmAM (or PM) 
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Sep 16 2011  5:57:19:720PM&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 110)  --mm-dd-yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
09-16-2011&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 111)  --yyyy/mm/dd&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011/09/16&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 112)  --yyyymmdd&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
20110916&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 113)  --dd mon yyyy hh:mm:ss:mmm
&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
16 Sep 2011 17:59:30:943&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 114)  --hh:mm:ss:mmm(24h)&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
17:59:44:887&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 120)  --yyyy-mm-dd hh:mm:ss(24h)&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011-09-16 17:59:55&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 121)  --yyyy-mm-dd hh:mm:ss.mmm&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011-09-16 18:00:13.497&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar, getdate(), 126)  --yyyy-mm-ddThh:mm:ss.mmm&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011-09-16T18:00:28.987&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT replace(convert(varchar, getdate(), 111), '/', '')  --yyyy mm dd&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
20110916&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT convert(varchar(7), getdate(), 126)   --yyyy-mm&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
2011-09&lt;br /&gt;
&lt;pre class="sql" name="code"&gt;SELECT right(convert(varchar, getdate(), 106), 8) -- mon yyyy&lt;/pre&gt;
&lt;br /&gt;
&lt;u&gt;Output:-&lt;/u&gt;&lt;br /&gt;
Sep 2011&lt;br /&gt;
&lt;br /&gt;
So this is the way to &lt;b&gt;format date or date time in sql server using getdate()&lt;/b&gt; function.&lt;br /&gt;
&lt;br /&gt;
I love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=9qmoprTfnqo:33fW0SerQJo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=9qmoprTfnqo:33fW0SerQJo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=9qmoprTfnqo:33fW0SerQJo:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=9qmoprTfnqo:33fW0SerQJo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=9qmoprTfnqo:33fW0SerQJo:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/9qmoprTfnqo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/9qmoprTfnqo/format-date-time-in-sql-server-using.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/format-date-time-in-sql-server-using.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5865907911743884519.post-2703487234476066678</guid><pubDate>Fri, 16 Sep 2011 05:10:00 +0000</pubDate><atom:updated>2011-09-15T22:12:58.032-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">technology news</category><title>Google Gravity</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="summary" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
I love google because google is always a fun and easy to use. Now, you can play with Google. Ricardo Cabello a designer/developer has developed &lt;b&gt;Google Gravity&lt;/b&gt;. A fun filled site, in which the elements of the Google Home page are subjected to gravitational force and they fall down in front of your eyes, as illustrated in given below screenshot.
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-S_HltY_5NGQ/TnLWspUpukI/AAAAAAAAATk/DzVdjxLUEEc/s1600/google-gravity.JPG" imageanchor="1"&gt;&lt;img border="0" height="160" src="http://4.bp.blogspot.com/-S_HltY_5NGQ/TnLWspUpukI/AAAAAAAAATk/DzVdjxLUEEc/s400/google-gravity.JPG" alt="Google Gravity" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="restofpost" style="font-family: Verdana,sans-serif; font-size: small;"&gt;
Despite all fun you can still &lt;b&gt;use Google Gravity to search the web&lt;/b&gt;.  You can play with all elements in Google Gravity, like the Google logo or the search box or links or buttons. You can drag them and throw them or do whatever you like. &lt;br /&gt;
&lt;br /&gt;
Google Gravity is the best example of the power of html 5.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What requires for Google Gravity&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;To enjoy this fun you need to have &lt;b&gt;Google Chrome&lt;/b&gt; (Web Browser developed by Google) installed in your computer. Although it works in &lt;b&gt;Safari&lt;/b&gt; and in &lt;b&gt;Firefox&lt;/b&gt; too but its working best in Google Chrome.&lt;/li&gt;
&lt;li&gt;Once you have installed &lt;b&gt;Google Chrome&lt;/b&gt; then you are ready to enjoy the fun.&lt;/li&gt;
&lt;li&gt;Log on to www.google.com or its regional version (www.google.pk etc.)&lt;/li&gt;
&lt;li&gt; In the Google search type &lt;b&gt;Google Gravity&lt;/b&gt;.&lt;/li&gt;
&lt;li&gt;Now Press the &lt;b&gt;I am feeling Lucky button&lt;/b&gt; below the Search bar, on the right or click on very first link or click on this link to enjoy the fun &lt;a href="http://mrdoob.com/projects/chromeexperiments/google_gravity/"&gt;Google Gravity&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Now watch what happens :)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Play with Google Gravity and share your experience with me. I always love your feedback.
&lt;/div&gt;
&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=QFti766dYQ4:BI9fe_pjoRo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=QFti766dYQ4:BI9fe_pjoRo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:qj6IDK7rITs"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=qj6IDK7rITs" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:KwTdNBX3Jqk"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=QFti766dYQ4:BI9fe_pjoRo:KwTdNBX3Jqk" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:l6gmwiTKsz0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=l6gmwiTKsz0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:gIN9vFwOqvQ"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?i=QFti766dYQ4:BI9fe_pjoRo:gIN9vFwOqvQ" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/nicetutorials?a=QFti766dYQ4:BI9fe_pjoRo:TzevzKxY174"&gt;&lt;img src="http://feeds.feedburner.com/~ff/nicetutorials?d=TzevzKxY174" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/nicetutorials/~4/QFti766dYQ4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/nicetutorials/~3/QFti766dYQ4/google-gravity.html</link><author>noreply@blogger.com (Adeel Fakhar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-S_HltY_5NGQ/TnLWspUpukI/AAAAAAAAATk/DzVdjxLUEEc/s72-c/google-gravity.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://nice-tutorials.blogspot.com/2011/09/google-gravity.html</feedburner:origLink></item></channel></rss>
