<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Jquery on Emad Alashi</title>
    <link>https://emadashi.com/tags/jquery/</link>
    <description>Recent content in Jquery on Emad Alashi</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 16 May 2011 22:11:05 +0000</lastBuildDate>
    <atom:link href="https://emadashi.com/tags/jquery/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Reflections on Jordev Web Camp</title>
      <link>https://emadashi.com/2011/05/reflections-on-jordev-web-camp/</link>
      <pubDate>Mon, 16 May 2011 22:11:05 +0000</pubDate>
      <guid>https://emadashi.com/2011/05/reflections-on-jordev-web-camp/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.emadashi.com/misc/images/634a70b9a492_148FE/webcamps.png&#34;&gt;&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; style=&#34;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&#34; title=&#34;webcamps&#34; border=&#34;0&#34; alt=&#34;webcamps&#34; align=&#34;right&#34; src=&#34;https://www.emadashi.com/misc/images/634a70b9a492_148FE/webcamps_thumb.png&#34; width=&#34;244&#34; height=&#34;194&#34; /&gt;&lt;/a&gt;Last Saturday 14th of May 2011 we had the first &lt;a href=&#34;http://webcamps.ms&#34;&gt;web camp&lt;/a&gt; in Jordan among Jordev’s activities, and it was great!&lt;br&gt;
&lt;em&gt;check my presentation slides at the end of this post.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The event was like the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;8:30 AM – 9:00 AM&lt;/strong&gt;: Registration&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;9:00 AM – 1:00 PM&lt;/strong&gt;: Four 50 minutes sessions with 10 minutes between each for breaks, there was a few attendees at the beginning so we delayed the first session for couple of minutes (yes we have a morning problem here). Sessions were “&lt;a href=&#34;http://www.slideshare.net/omarq/entity-framework41codefirst&#34;&gt;Entity Framework 4.1&lt;/a&gt;”, “&lt;a href=&#34;http://www.slideshare.net/splashup/aspnet-mvc-one-step-deeper&#34;&gt;ASP.NET MVC One Step Deeper&lt;/a&gt;”, “Dynamic Data”, and “&lt;a href=&#34;http://www.slideshare.net/i.omar/jquery-7978005&#34;&gt;jQuery&lt;/a&gt;”&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;1:00 PM – 2:15 PM&lt;/strong&gt;: lunch break, where people went to the near market and had their lunch there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;2:15 PM – 4:30 PM&lt;/strong&gt;: free coding session.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Things went great&lt;/strong&gt;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>First Jordev Web Camp</title>
      <link>https://emadashi.com/2011/05/first-jordev-web-camp/</link>
      <pubDate>Sat, 07 May 2011 10:40:05 +0000</pubDate>
      <guid>https://emadashi.com/2011/05/first-jordev-web-camp/</guid>
      <description>&lt;p&gt;For too long, all Jordev’s activities have been in the form of sessions with fast code demos, and for the first time we are going to break this rule and do our &lt;a href=&#34;http://ammanwebcamp.eventbrite.com/&#34;&gt;first web camp&lt;/a&gt; in which attendees will have the chance to have hands-on experience with some of Jordan’s active experts. It will be on the 15th of May 2011.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://webcamps.ms&#34;&gt;&lt;img alt=&#34;First Jordev Web Camp&#34; loading=&#34;lazy&#34; src=&#34;https://www.emadashi.com/misc/images/First-Jordev-Web-Camp_B88A/1637932099-3_thumb.png&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are two things in web camps that make them more interesting: REAL CODING and COLLABORATION; coding is a practice science, best way to learn it is by practice, and this practice will be much more fruitful and enjoyable if done with a bunch of enthusiasts who share the same passion with you. Speakers will have their share, but the biggest share will go to the hidden experts who have been hiding under excessive working hours and who avoid boring talkative sessions. This gathering will be a chance for us to dig these gems out and have the most geeky fun and benefit we seek in such communities.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Happy Life with Intuitive API in Smart Controls</title>
      <link>https://emadashi.com/2010/06/happy-life-with-intuitive-api-in-smart-controls/</link>
      <pubDate>Tue, 15 Jun 2010 14:42:23 +0000</pubDate>
      <guid>https://emadashi.com/2010/06/happy-life-with-intuitive-api-in-smart-controls/</guid>
      <description>&lt;p&gt;In this post I will show you an example of how smartly built controls and API’s can make the developers programming life extremely enjoyable, hopefully this example will urge you in giving such a smart effort when you build your own control or API.&lt;/p&gt;
&lt;p&gt;Lately I have been playing around with a very nice tree control based on jQuery called &lt;a href=&#34;http://www.jstree.com/&#34;&gt;jsTree&lt;/a&gt;. One of the nice features is that it allows populating the tree through asynchronous calls with JSON data representation. In order to achieve that, you needed to provide the data by JSON special format suitable to the tree. This format, regrettably, is open to the JSON vulnerability &lt;a href=&#34;http://haacked.com/&#34;&gt;Phil Haack&lt;/a&gt; talked about in his two posts &lt;a href=&#34;http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx&#34;&gt;here&lt;/a&gt; and &lt;a href=&#34;http://haacked.com/archive/2009/06/25/json-hijacking.aspx&#34;&gt;here&lt;/a&gt;.&lt;br&gt;
So to avoid this vulnerability I had to change this default data format of the tree, at least until the very end of the data flow just before the tree populates the data, only then I can change it back to the default format, like the following:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Clear jQuery Droppable List</title>
      <link>https://emadashi.com/2009/05/clear-jquery-droppable-list/</link>
      <pubDate>Tue, 19 May 2009 18:25:19 +0000</pubDate>
      <guid>https://emadashi.com/2009/05/clear-jquery-droppable-list/</guid>
      <description>&lt;p&gt;The other day at work I finally had the chance to get my hands on code (see &lt;a title=&#34;Technical Team Leader...Who Is Not&#34; href=&#34;http://www.emadashi.com/index.php/2009/04/technical-team-leaderwho-is-not/&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt; why I&amp;rsquo;m so anxious about it 😛 ).&lt;/p&gt;
&lt;p&gt;We were using the jQuery&amp;rsquo;s Drag and Drop feature, where the droppable areas (DIV&amp;rsquo;s) are marked as droppable and registered for the events like the following:&lt;/p&gt;
&lt;div style=&#34;font-family: Courier New; font-size: 10pt; color: black; background: white;&#34;&gt;
  &lt;p style=&#34;margin: 0px;&#34;&gt;
    &lt;span style=&#34;color: #2b91af;&#34;&gt;  126&lt;/span&gt; &lt;span style=&#34;color: blue;&#34;&gt;function&lt;/span&gt; RegisterDroppable(DomID) {
  &lt;/p&gt;
  &lt;p style=&#34;margin: 0px;&#34;&gt;
    &lt;span style=&#34;color: #2b91af;&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color: #2b91af;&#34;&gt;128&lt;/span&gt;        $(&lt;span style=&#34;color: #a31515;&#34;&gt;‘#&#39;&lt;/span&gt; + DomID).droppable({
  &lt;/p&gt;</description>
    </item>
  </channel>
</rss>
