<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5134338567926965751</id><updated>2011-12-21T04:11:14.953-08:00</updated><category term='Gmail'/><category term='jQuery'/><category term='Google'/><category term='ASP.NET'/><title type='text'>123 web</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-8230228335098998111</id><published>2009-05-11T20:42:00.000-07:00</published><updated>2009-05-23T02:18:27.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>ASP.NET User Controls and jQuery</title><content type='html'>If you like programing pure in client side to render every thing your self for more control  , you should integrate your client side scripts with server side technology.&lt;div&gt;Some times what your server side code outputs restrict your client side scripting , user controls is one of this examples . &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/SgpsKuIVFMI/AAAAAAAAAso/KwFvSYJhQvo/s1600-h/1.JPG"&gt;&lt;img src="http://4.bp.blogspot.com/_G9XrTNADmPI/SgpsKuIVFMI/AAAAAAAAAso/KwFvSYJhQvo/s400/1.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5335195640011232450" style="cursor: pointer; width: 400px; height: 292px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The problem is finding objects in each user control . if you use server controls  like asp:&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;textbox&lt;/span&gt; , asp.net change object id to keep it unique in host page (maybe use multiple instances of a user control in one page or host page have another object has same id ) . The problem is finding objects in &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;client side&lt;/span&gt; . &lt;/div&gt;&lt;div&gt;Common solution is Injecting &lt;b&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;htmlControl&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;clientID&lt;/span&gt; &lt;/b&gt;from server side code into rendered html for accessing in client side . because &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;clientID&lt;/span&gt; attribute gives you unique id that asp.net generated in host page . but its not a good idea and nobody like use that because it restricts your scripting.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Another solution is using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;css&lt;/span&gt; class instead of id.&lt;/div&gt;&lt;div&gt;but here is a problem ... &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;css&lt;/span&gt; classes is unique in &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;user control&lt;/span&gt; area but not unique in host page with multiple &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;user control&lt;/span&gt; instances . I have a trick for you ... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;First you should  make user control boundary identifiable .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/ShLRKqRyusI/AAAAAAAAAtQ/rLE73hTc0i0/s1600-h/uc1111.png"&gt;&lt;img src="http://1.bp.blogspot.com/_G9XrTNADmPI/ShLRKqRyusI/AAAAAAAAAtQ/rLE73hTc0i0/s400/uc1111.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5337558489465273026" style="cursor: pointer; width: 400px; height: 93px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;I use a div with  class named &lt;span class="Apple-style-span"  style="color:#33CC00;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;controlContainer&lt;/span&gt; &lt;/span&gt;for my user control boundary.&lt;/div&gt;&lt;div&gt;Know but all of your objects inside this container . &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;ok&lt;/span&gt; lets talk about finding each object of &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_11"&gt;user control&lt;/span&gt; inside of user control boundary and do jobs with a unique object in a host page with multiple user control instances . for finding an object uniquely I should find &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_12"&gt;user control&lt;/span&gt; boundary and search for object with specified &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;css&lt;/span&gt; class inside this boundary . &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;using &lt;b&gt;.parents('&lt;span class="Apple-style-span"  style="color:#33CC00;"&gt;.&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 204, 0); "&gt;&lt;b&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;controlContainer&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;') &lt;/b&gt;to find &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_15"&gt;user control&lt;/span&gt; boundary from inside , and using &lt;b&gt;.find('.Text1') &lt;span class="Apple-style-span" style="font-weight: normal;"&gt;for reference to object with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;css&lt;/span&gt; class value of '&lt;/span&gt;&lt;span class="Apple-style-span"  style="color:#33CC00;"&gt;.Text&lt;/span&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;'&lt;/span&gt; &lt;/b&gt; .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;lets have an example :&lt;/div&gt;&lt;div&gt;In this Example we develop an ASP.NET  user control with a div and a button , when user click the  button , div toggle hide and show .&lt;/div&gt;&lt;div&gt;First Create user control html ...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/ShQXq9-RUKI/AAAAAAAAAtY/ur4Dn8gcPd8/s1600-h/uc1112.png"&gt;&lt;img src="http://3.bp.blogspot.com/_G9XrTNADmPI/ShQXq9-RUKI/AAAAAAAAAtY/ur4Dn8gcPd8/s400/uc1112.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5337917485298569378" style="cursor: pointer; width: 400px; height: 125px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Lets see the Code behind ... &lt;/div&gt;&lt;div&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;javascripts&lt;/span&gt; cannot write inside a user control and you should use  &lt;b&gt;Page.ClientScript.RegisterStartupScript &lt;/b&gt;to register client scripts on user control html output . &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;ok&lt;/span&gt; make a draft of  necessary script for &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;showHide&lt;/span&gt; method . this method calls  button click .&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;function &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;showHide&lt;/span&gt;(obj){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt; var x=$(obj).parents('.controlContainer'); &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt; $(x).find('.Text1').toggle('slow');&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#3333FF;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;Concat&lt;/span&gt; this script lines using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;stringBuilder&lt;/span&gt; class in .net and register it as I explained in page load event handler.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;VB :&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/She_QD6WsGI/AAAAAAAAAtw/P4dx7wjg698/s1600-h/uc1113111.png"&gt;&lt;img src="http://4.bp.blogspot.com/_G9XrTNADmPI/She_QD6WsGI/AAAAAAAAAtw/P4dx7wjg698/s400/uc1113111.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5338946165919887458" style="cursor: pointer; width: 400px; height: 150px; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;CS :&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/ShQfiliIaDI/AAAAAAAAAto/ruX4Kj3-t58/s1600-h/uc1114.png"&gt;&lt;img src="http://1.bp.blogspot.com/_G9XrTNADmPI/ShQfiliIaDI/AAAAAAAAAto/ruX4Kj3-t58/s400/uc1114.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5337926137392162866" style="cursor: pointer; width: 400px; height: 116px; " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For Run and test , add more than one &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_23"&gt;instance&lt;/span&gt; of this user control to an ASP.NET page and run .&lt;/div&gt;&lt;div&gt;the result show you despite having several objects on page with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;css&lt;/span&gt; class &lt;span class="Apple-style-span"  style="color:#33CC00;"&gt;Text1 &lt;/span&gt;, a button on each user control hide and show just div inside same user control . yes , and now you can easy write your &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_25"&gt;client side&lt;/span&gt; script on user controls without worry about unique id's that &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_26"&gt;generates&lt;/span&gt; by ASP.NET .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Happy scripting ...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-8230228335098998111?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/8230228335098998111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/05/aspnet-user-controls-and-jquery.html#comment-form' title='44 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/8230228335098998111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/8230228335098998111'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/05/aspnet-user-controls-and-jquery.html' title='ASP.NET User Controls and jQuery'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_G9XrTNADmPI/SgpsKuIVFMI/AAAAAAAAAso/KwFvSYJhQvo/s72-c/1.JPG' height='72' width='72'/><thr:total>44</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-4569943666423348334</id><published>2009-05-04T00:34:00.000-07:00</published><updated>2009-05-06T01:54:22.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Using jQuery - Add row to table</title><content type='html'>During this days some people ask me about creating dynamic data entry ui . I try to explain it with a real Example step by step .&lt;br /&gt;&lt;br /&gt;First Draw an HTML Table with two rows , header and a row with text boxes for data Entry .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SgEcuYG4ltI/AAAAAAAAArQ/17ZAcbAMtbA/s1600-h/1.GIF"&gt;&lt;img style="cursor: pointer; width: 400px; height: 387px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SgEcuYG4ltI/AAAAAAAAArQ/17ZAcbAMtbA/s400/1.GIF" alt="" id="BLOGGER_PHOTO_ID_5332575016854263506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Remember that last textbox in the second row must have a &lt;span style="color: rgb(51, 204, 0);"&gt;lastElement&lt;/span&gt; css class.&lt;br /&gt;The simplest way for add a new row to a table is &lt;span style="font-weight: bold;"&gt;.append()&lt;/span&gt; method , but in this approach you should know the new row structure .Using &lt;span style="font-weight: bold;"&gt;.clone()&lt;/span&gt; method make it more easy and flexible. Now the only thing to do is getting the last row of table and call .clone() method on it.&lt;br /&gt;&lt;br /&gt;The clone method gets an optional Boolean parameter to clone selected DOM elements with all event handlers or not .&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFCv_2Ve8I/AAAAAAAAArY/lmD8LSkF8IE/s1600-h/2.GIF"&gt;&lt;img style="cursor: pointer; width: 264px; height: 42px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFCv_2Ve8I/AAAAAAAAArY/lmD8LSkF8IE/s400/2.GIF" alt="" id="BLOGGER_PHOTO_ID_5332616826143996866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;OK , you got cloned element and now you should insert it at the end of the table using &lt;span style="font-weight: bold;"&gt;.insertAfter()&lt;/span&gt; method.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/SgFDzYoOPAI/AAAAAAAAArw/BEP5be6OADY/s1600-h/3.GIF"&gt;&lt;img style="cursor: pointer; width: 378px; height: 26px;" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SgFDzYoOPAI/AAAAAAAAArw/BEP5be6OADY/s320/3.GIF" alt="" id="BLOGGER_PHOTO_ID_5332617983846923266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;put this line of code to a function and call it on press enter on last text box of each row.&lt;br /&gt;you should handle keypress event of last input that has &lt;span style="color: rgb(51, 204, 0);"&gt;lastElement &lt;/span&gt;class.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFH_ULrfbI/AAAAAAAAAr4/VdtKC1K8etU/s1600-h/4.GIF"&gt;&lt;img style="cursor: pointer; width: 400px; height: 221px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFH_ULrfbI/AAAAAAAAAr4/VdtKC1K8etU/s400/4.GIF" alt="" id="BLOGGER_PHOTO_ID_5332622586858405298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The condition "&lt;span style="color: rgb(51, 204, 0);"&gt;e.which == 13&lt;/span&gt;" checks if pressed key is Enter or not.&lt;br /&gt;Test your code ... yes it works , but a little problem , if you enter some data in text boxes &lt;span style="font-weight: bold;"&gt;clone()&lt;/span&gt; method copy text boxes with their values and its not good . select the new added row (now is a last row in table) and select all inputs and clear their values .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SgFKUtXP6yI/AAAAAAAAAsA/X5cSS6nwb3I/s1600-h/5.GIF"&gt;&lt;img style="cursor: pointer; width: 301px; height: 36px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SgFKUtXP6yI/AAAAAAAAAsA/X5cSS6nwb3I/s400/5.GIF" alt="" id="BLOGGER_PHOTO_ID_5332625153418324770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Another point is focus must be set to first text box of new row , do it ...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/SgFLMbsmufI/AAAAAAAAAsY/2Sr0JYlB0UI/s1600-h/6ww.GIF"&gt;&lt;img style="cursor: pointer; width: 346px; height: 38px;" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SgFLMbsmufI/AAAAAAAAAsY/2Sr0JYlB0UI/s400/6ww.GIF" alt="" id="BLOGGER_PHOTO_ID_5332626110748735986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I try to keep this post simple , but if you know how to do ajax save , you can add a method to save last row before add new row in UI .&lt;br /&gt;&lt;br /&gt;and here is the completed code ...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFQKcDXFlI/AAAAAAAAAsg/NLirtMXZG9M/s1600-h/7ww.GIF"&gt;&lt;img style="cursor: pointer; width: 252px; height: 400px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/SgFQKcDXFlI/AAAAAAAAAsg/NLirtMXZG9M/s400/7ww.GIF" alt="" id="BLOGGER_PHOTO_ID_5332631574042580562" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-4569943666423348334?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/4569943666423348334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/05/using-jquery-add-row-to-table.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/4569943666423348334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/4569943666423348334'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/05/using-jquery-add-row-to-table.html' title='Using jQuery - Add row to table'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_G9XrTNADmPI/SgEcuYG4ltI/AAAAAAAAArQ/17ZAcbAMtbA/s72-c/1.GIF' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-6019913130498311301</id><published>2009-05-01T22:16:00.000-07:00</published><updated>2009-05-02T00:33:25.760-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Using jQuery - Hover Effect</title><content type='html'>One of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;jQuery&lt;/span&gt; facilities that makes coding fast and easy is the ability to assign a method for handling an event.I want to show how to implement Hover Effect for an object .&lt;br /&gt;&lt;br /&gt;First lets Prepare required HTML , a table with some rows (like a menu) witch each row contain a column with specified &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;css&lt;/span&gt; class.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/Sfvd15QOuCI/AAAAAAAAAok/p12eJfhzYbI/s1600-h/7736650.GIF"&gt;&lt;img style="cursor: pointer; width: 250px; height: 327px;" src="http://3.bp.blogspot.com/_G9XrTNADmPI/Sfvd15QOuCI/AAAAAAAAAok/p12eJfhzYbI/s400/7736650.GIF" alt="" id="BLOGGER_PHOTO_ID_5331098501894813730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For distinguishing two modes , normal and hover you can use  two &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;css&lt;/span&gt; classes .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SfvimJnzkqI/AAAAAAAAAos/KrXpakmntqo/s1600-h/2.GIF"&gt;&lt;img style="cursor: pointer; width: 309px; height: 400px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SfvimJnzkqI/AAAAAAAAAos/KrXpakmntqo/s400/2.GIF" alt="" id="BLOGGER_PHOTO_ID_5331103728968897186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note that cursor:hand does not work in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;firefox&lt;/span&gt; .&lt;br /&gt;Now I want to add and remove a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;css&lt;/span&gt; class to each cell by using &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;addClass&lt;/span&gt; &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;removeClass&lt;/span&gt;&lt;/span&gt; methods of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;jQuery&lt;/span&gt;.&lt;br /&gt;To make hover effect you should handle hover event of each cell. hover event gets two function as arguments , first one for &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;onMouseOver&lt;/span&gt; and second one for &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;onMouseOut&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/Sfvrp0tTWAI/AAAAAAAAAqE/lYY1e1kNCFU/s1600-h/4.GIF"&gt;&lt;img style="cursor: pointer; width: 375px; height: 148px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/Sfvrp0tTWAI/AAAAAAAAAqE/lYY1e1kNCFU/s400/4.GIF" alt="" id="BLOGGER_PHOTO_ID_5331113687678932994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Write  codes above as a function in &lt;span style="font-weight: bold;"&gt;$(document).ready( )&lt;/span&gt; for &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;running&lt;/span&gt; on load of page .&lt;br /&gt;lets put it all together .&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SfvuqdGmHEI/AAAAAAAAAqM/rqZyEDjqjm0/s1600-h/6.GIF"&gt;&lt;img style="cursor: pointer; width: 211px; height: 400px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SfvuqdGmHEI/AAAAAAAAAqM/rqZyEDjqjm0/s400/6.GIF" alt="" id="BLOGGER_PHOTO_ID_5331116997057322050" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-6019913130498311301?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/6019913130498311301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/05/using-jquery-hover-effect.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/6019913130498311301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/6019913130498311301'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/05/using-jquery-hover-effect.html' title='Using jQuery - Hover Effect'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_G9XrTNADmPI/Sfvd15QOuCI/AAAAAAAAAok/p12eJfhzYbI/s72-c/7736650.GIF' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-8117443707795443978</id><published>2009-04-23T01:01:00.000-07:00</published><updated>2009-04-23T03:57:33.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Using jQuery - Attributes 1</title><content type='html'>&lt;div&gt;As I said before , selectors makes jquery powerful . In this post I want to write about attribute selector.&lt;br /&gt;Its very easy ... here is a sample :&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;$("a[href='http://www.google.com']").&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;In this example $("a") select each link on the page , and [href='http://www.google.com'] restrict the selector to 'a' tags with href attribute equals to 'http://www.google.com' .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;example :&lt;br /&gt;I have a list of some files like below&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_G9XrTNADmPI/SfAomcYXVaI/AAAAAAAAAns/F3YEpanNQO8/s1600-h/5.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5327803000097822114" style="WIDTH: 189px; CURSOR: hand; HEIGHT: 167px" alt="" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SfAomcYXVaI/AAAAAAAAAns/F3YEpanNQO8/s400/5.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If you want to show this list with appropriate icon for each type of file , you must add an img tag before each link . jquery has &lt;strong&gt;.before()&lt;/strong&gt; and &lt;strong&gt;.after()&lt;/strong&gt; method for insert content after and before selected tag(s) by selector.&lt;/div&gt;&lt;div&gt;Ok . Now I want to select each link in the page with href attribute ends with '.pdf' and insert an img tag befor using &lt;strong&gt;.before() &lt;/strong&gt;method.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAtSAMCmvI/AAAAAAAAAn8/odFTKUxmgqU/s1600-h/8.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5327808146490694386" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 87px" alt="" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAtSAMCmvI/AAAAAAAAAn8/odFTKUxmgqU/s400/8.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;dont worry about &lt;strong&gt;$(document).ready .&lt;/strong&gt; Its assign a function to onload event of document .&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAv3DGug2I/AAAAAAAAAoE/ixbQPC_Iz-Y/s1600-h/10.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5327810981952127842" style="WIDTH: 191px; CURSOR: hand; HEIGHT: 178px" alt="" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAv3DGug2I/AAAAAAAAAoE/ixbQPC_Iz-Y/s400/10.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;and now lets finish it ...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAyAc9lAiI/AAAAAAAAAoM/BEMENrEFwio/s1600-h/11.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5327813342535156258" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 327px" alt="" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SfAyAc9lAiI/AAAAAAAAAoM/BEMENrEFwio/s400/11.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;HTML result :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_G9XrTNADmPI/SfAyyOHQ7cI/AAAAAAAAAoU/EfEFgllGLxU/s1600-h/12.gif"&gt;&lt;img id="BLOGGER_PHOTO_ID_5327814197542710722" style="WIDTH: 153px; CURSOR: hand; HEIGHT: 168px" alt="" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SfAyyOHQ7cI/AAAAAAAAAoU/EfEFgllGLxU/s400/12.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-8117443707795443978?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/8117443707795443978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/04/using-jquery-attributes-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/8117443707795443978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/8117443707795443978'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/04/using-jquery-attributes-1.html' title='Using jQuery - Attributes 1'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_G9XrTNADmPI/SfAomcYXVaI/AAAAAAAAAns/F3YEpanNQO8/s72-c/5.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-1612556494834306490</id><published>2009-04-20T01:19:00.000-07:00</published><updated>2009-04-20T22:24:18.711-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Using jQuery - Hide and Show Div</title><content type='html'>Write Less Do More .&lt;br /&gt;&lt;br /&gt;In this post I'll show you how can hide and show a div using &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;jquery&lt;/span&gt;.&lt;br /&gt;First you should able to select your Div by &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;jquery&lt;/span&gt; selectors.In this example I use the ID Selector .&lt;br /&gt;Then Call &lt;strong&gt;.show() &lt;/strong&gt;method to set display property of div from &lt;strong&gt;none&lt;/strong&gt; to &lt;strong&gt;block&lt;/strong&gt; , and &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;.hide()&lt;/span&gt; to reverse it.&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/Se1QkNNpGdI/AAAAAAAAAmo/0-A_9I88MnY/s1600-h/3.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 335px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/Se1QkNNpGdI/AAAAAAAAAmo/0-A_9I88MnY/s400/3.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5327002517201557970" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;There is another way for this job , by using &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;.toggle() &lt;/span&gt; method your hidden div appears by first click and disappears by second click . you can use an optional parameter(speed)  by .toggle() method for animate your job . acceptable values for this parameter are "slow" , "fast" or a numeric value in &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;millisecond&lt;/span&gt; . note that this optional parameter available for .show() and .hide() methods .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/Se1YXiVK7xI/AAAAAAAAAm4/BtJ5rg4qErY/s1600-h/4.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 286px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/Se1YXiVK7xI/AAAAAAAAAm4/BtJ5rg4qErY/s400/4.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5327011095625002770" /&gt;&lt;/a&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-1612556494834306490?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/1612556494834306490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/04/using-jquery-hide-and-show-div.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/1612556494834306490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/1612556494834306490'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/04/using-jquery-hide-and-show-div.html' title='Using jQuery - Hide and Show Div'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_G9XrTNADmPI/Se1QkNNpGdI/AAAAAAAAAmo/0-A_9I88MnY/s72-c/3.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-2718214753763816771</id><published>2009-04-15T21:07:00.000-07:00</published><updated>2009-04-16T00:55:53.390-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><title type='text'>Google Solar Panel Project</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/Sea5-1R8MbI/AAAAAAAAAl4/Wj4E9uNbhyA/s1600-h/solar.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 155px; height: 86px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/Sea5-1R8MbI/AAAAAAAAAl4/Wj4E9uNbhyA/s320/solar.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5325148098517545394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;what is a Solar Panel ?&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Solar Panel is the array of Solar Cells and a solar cell is a device that convert sunlight directly into electricity.Solar cells are classified into tree generation.Solar cells are often electrically connected and encapsulated as a module. PV modules often have a sheet of glass on the front (sun up) side, allowing light to pass while protecting the semiconductor wafers from the elements (rain, hail, etc.). Solar cells are also usually connected in series in modules, creating an additive voltage. Connecting cells in parallel will yield a higher current. Modules are then interconnected, in series or parallel, or both, to create an array with the desired peak DC voltage and current.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The power output of a solar array is measured in watts or kilowatts. In order to calculate the typical energy needs of the application, a measurement in watt-hours, kilowatt-hours or kilowatt-hours per day is often used. &lt;span class="Apple-style-span"  style="font-size:x-small;"&gt;(wikipedia)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Google's green-energy plan&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Google complete solar energy project in June 2007 to flow the Google's green-energy plan . in this project thay committed to helping to build a clean energy future. Google's green-energy plan goes by the formula-like name &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;RE&amp;gt;c &lt;c&gt;&lt;/c&gt;&lt;/span&gt;, which sets out the goal of the company's operation -- to find renewable energy sources that reliably generate electricity more cheaply than burning coal.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/Sea_5Kz42KI/AAAAAAAAAmA/eoEBqkQHRFQ/s1600-h/solar1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/Sea_5Kz42KI/AAAAAAAAAmA/eoEBqkQHRFQ/s320/solar1.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5325154598287628450" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Google installed &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;9212  &lt;/span&gt;solar panels at its Silicon Valley headquarters that will rank as the largest U.S. solar-powered corporate office complex . This is a 1.6MW solar system that produce about 8000 kilowatt-hours of electricity in 24 hours. This amount of electricity is enough to power &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;30%&lt;/span&gt; of Google's peak electricity demand in our solar powered buildings at our Mountain View, CA headquarters.&lt;/div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SebFrfQvg-I/AAAAAAAAAmI/jswpO4GcYHM/s1600-h/solar5.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SebFrfQvg-I/AAAAAAAAAmI/jswpO4GcYHM/s320/solar5.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5325160960328958946" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;“This is the largest customer-owned solar electric system at a corporate site,” said Noah Kaye, director of public affairs at the Solar Energy Industries Association, an industry group based in Washington, D.C.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_G9XrTNADmPI/SebhY7tJWnI/AAAAAAAAAmY/MpwZBiQXRLQ/s1600-h/googlesolar.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 266px;" src="http://1.bp.blogspot.com/_G9XrTNADmPI/SebhY7tJWnI/AAAAAAAAAmY/MpwZBiQXRLQ/s400/googlesolar.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5325191427872348786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;According to Robyn Beavers, the director of environmental programs at Google. Google intends to generate 50 megawatts of electricity from renewable forms for its operations by 2012.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-2718214753763816771?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/2718214753763816771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/04/google-solar-panel-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/2718214753763816771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/2718214753763816771'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/04/google-solar-panel-project.html' title='Google Solar Panel Project'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_G9XrTNADmPI/Sea5-1R8MbI/AAAAAAAAAl4/Wj4E9uNbhyA/s72-c/solar.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-6328456433447145280</id><published>2009-04-15T02:13:00.000-07:00</published><updated>2009-04-15T03:21:14.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>What is jQuery ?</title><content type='html'>&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;jQuery&lt;/span&gt; is the best JavaScript library that use to easy , fast and smart client side programing for web. javascript is a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;powerful&lt;/span&gt; client side scripting language , but nobody like it pure.&lt;div&gt;&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;because&lt;/span&gt; its very difficult and need to spend a lot of time to do some works cool .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Using a good javascript library make it easy to scripting client side and make you sure that your scripts works currect on popular browsers like FireFox , Google Chrome and IE .&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;You can download last stable version of jQuery core &lt;a href="http://jquery.com/"&gt;here &lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Using jQuery is very simple , you should just simply add a like to the &lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;jQuery.js&lt;/span&gt; file in your html document .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;jQuery is designed to change the way that you write JavaScript.&lt;/div&gt;&lt;div&gt;One of powerfull futures of jQuery is selectors , here is a sample:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Traditional way:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/SeWzY2ZsV_I/AAAAAAAAAlQ/vyufC01LpMo/s1600-h/code1.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 262px;" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SeWzY2ZsV_I/AAAAAAAAAlQ/vyufC01LpMo/s320/code1.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5324859373936990194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt; Using jQuery&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_G9XrTNADmPI/SeW00h1ap5I/AAAAAAAAAlo/DhEk2XofNEI/s1600-h/code3.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 160px;" src="http://4.bp.blogspot.com/_G9XrTNADmPI/SeW00h1ap5I/AAAAAAAAAlo/DhEk2XofNEI/s320/code3.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5324860948964091794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I try to write some jQuery samples later .&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-6328456433447145280?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/6328456433447145280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/04/what-is-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/6328456433447145280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/6328456433447145280'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/04/what-is-jquery.html' title='What is jQuery ?'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_G9XrTNADmPI/SeWzY2ZsV_I/AAAAAAAAAlQ/vyufC01LpMo/s72-c/code1.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5134338567926965751.post-4534992267437228258</id><published>2009-04-15T01:11:00.000-07:00</published><updated>2009-04-15T01:38:00.273-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>more about gmail</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G9XrTNADmPI/SeWcxlt5ynI/AAAAAAAAAjw/XF5JB0C_xkk/s1600-h/gmaillogo.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 143px; height: 59px;" src="http://3.bp.blogspot.com/_G9XrTNADmPI/SeWcxlt5ynI/AAAAAAAAAjw/XF5JB0C_xkk/s320/gmaillogo.gif" border="0" alt="" id="BLOGGER_PHOTO_ID_5324834510187645554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;I like google and also &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;GMail&lt;/span&gt; &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;because&lt;/span&gt; of making &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;difference&lt;/span&gt; in performance and quality of service and I try to write about google products .&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Know a little point about Gmail...&lt;/div&gt;&lt;div&gt;As you know gmail support dot character in email address .&lt;/div&gt;&lt;div&gt;My Email address have dot and some day I try to login to my email address without dot's and &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;it work's .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;you can try it your self now...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5134338567926965751-4534992267437228258?l=my123web.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://my123web.blogspot.com/feeds/4534992267437228258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://my123web.blogspot.com/2009/04/more-about-gmail.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/4534992267437228258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5134338567926965751/posts/default/4534992267437228258'/><link rel='alternate' type='text/html' href='http://my123web.blogspot.com/2009/04/more-about-gmail.html' title='more about gmail'/><author><name>Iman</name><uri>http://www.blogger.com/profile/16856480892301112223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://1.bp.blogspot.com/_G9XrTNADmPI/SfvkFiYtbqI/AAAAAAAAAo8/pAOEJuqjhyI/S220/me123.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_G9XrTNADmPI/SeWcxlt5ynI/AAAAAAAAAjw/XF5JB0C_xkk/s72-c/gmaillogo.gif' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
