<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ropox.net &#187; Snippets</title>
	<atom:link href="http://ropox.net/archives/category/programming/snippets/feed" rel="self" type="application/rss+xml" />
	<link>http://ropox.net</link>
	<description>thoughts from a web engineer</description>
	<lastBuildDate>Tue, 13 Sep 2011 05:57:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>get CKEditor data with Jquery &#8211; no plugin required</title>
		<link>http://ropox.net/archives/28457</link>
		<comments>http://ropox.net/archives/28457#comments</comments>
		<pubDate>Tue, 19 Apr 2011 08:52:13 +0000</pubDate>
		<dc:creator>ropox</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[ckeditor]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://ropox.net/?p=28457</guid>
		<description><![CDATA[If you are using the CKeditor also with JQuery (not the ckeditor plugin) then at some point you might want to get the editor data without submitting the form.


Related posts:<ol><li><a href='http://ropox.net/archives/1081' rel='bookmark' title='Permanent Link: JQuery wildcard selectors'>JQuery wildcard selectors</a> <small>JQuery wildcard selectors on select boxes, how to reset all...</small></li>
<li><a href='http://ropox.net/archives/15669' rel='bookmark' title='Permanent Link: “Visualize” data as graphs'>“Visualize” data as graphs</a> <small>How do you visualize data in interesting ways but allow...</small></li>
<li><a href='http://ropox.net/archives/20449' rel='bookmark' title='Permanent Link: Getting the page and viewport dimensions using jQuery'>Getting the page and viewport dimensions using jQuery</a> <small>Getting the page and viewport dimensions using jQuery is as...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brown" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fropox.net%252Farchives%252F28457%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22get%20CKEditor%20data%20with%20Jquery%20-%20no%20plugin%20required%20%23%22%20%7D);"></div>
<p>If you are using the CKeditor also with <a href="http://jquery.com" target="_blank">JQuery </a>(not the ckeditor plugin) then at some point you might want to get the editor data without submitting the form.</p>
<p>after a lot of searching i managed to get the editor data without using the <a href="http://ckeditor.com/blog/CKEditor_for_jQuery" target="_blank">jquery plugin for CKEditor</a>.</p>
<p>So if you are replacing text areas with the common way , e.g.</p>
<pre class="brush: javascript">
var bodyEditorEN = CKEDITOR.replace( &#039;bodyen&#039;, {toolbar : &#039;Basic&#039;});</pre>
<p>and this applies to the html element :</p>
<pre class="brush: html">
&lt;textarea id=&quot;bodyen&quot; cols=&quot;70&quot; rows=&quot;10&quot; name=&quot;bodyen&quot;&gt;&lt;/textarea&gt;
</pre>
<p>then all you need to do to access data with Jquery from the editor is by using the <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#getData">getData </a>method from CKEditor:</p>
<pre class="brush: javascript">
var body = CKEDITOR.instances[&#039;bodyen&#039;].getData();
alert(body);
</pre>
<div class="fb-widget" id="fbtb-8bf422875e5d4004a04d6169dc295648" style="border:0; outline:0; padding:0; margin:0; position:relative;" itemscope="" itemid="http://www.freebase.com/id/en/jquery" itemtype="http://www.freebase.com/id/computer/software"> <form class="fb-widget-placeholder" style="border:0; outline:0; padding:0; margin:0;"> <input name="src" value="http://www.freebase.com/widget/topic?track=topicblocks_plugin_tags&amp;mode=content&amp;id=%2Fen%2Fjquery" type="hidden" /> <input name="width" value="413" type="hidden" /> <input name="height" value="285" type="hidden" /> <span style="line-height:1; border:0; outline:0; padding:0; margin:0; display:inline-block; padding:5px; background:#eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> <div style="text-align:left; vertical-align:baseline; line-height:1; border:0; outline:0; margin:0 0 5px 5px;"> <a style="text-align:left; vertical-align:baseline; font-family:'Helvetica Neue', Arial, sans-serif; font-size:13px; font-weight:bold; line-height:1.6; text-decoration:none; color:#17b; border:0; outline:0; padding:0; margin:0;" href="http://www.freebase.com/view/en/jquery" target="_blank" > jQuery </a> </div> <div style="vertical-align:top; border:1px solid #ddd; outline:0; padding:0; margin:0; position: relative; width:400px; height:220px; overflow:auto; background-color:#fff"> <img src="http://img.freebase.com/api/trans/image_thumb/en/jquery?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=150&amp;mode=fillcropmid&amp;maxwidth=150" title="jQuery" style="border:0; outline:0; padding: 0; margin: 28px auto; display: block;"> </div> </span> </form> </div>


<p>Related posts:<ol><li><a href='http://ropox.net/archives/1081' rel='bookmark' title='Permanent Link: JQuery wildcard selectors'>JQuery wildcard selectors</a> <small>JQuery wildcard selectors on select boxes, how to reset all...</small></li>
<li><a href='http://ropox.net/archives/15669' rel='bookmark' title='Permanent Link: “Visualize” data as graphs'>“Visualize” data as graphs</a> <small>How do you visualize data in interesting ways but allow...</small></li>
<li><a href='http://ropox.net/archives/20449' rel='bookmark' title='Permanent Link: Getting the page and viewport dimensions using jQuery'>Getting the page and viewport dimensions using jQuery</a> <small>Getting the page and viewport dimensions using jQuery is as...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ropox.net/archives/28457/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting the page and viewport dimensions using jQuery</title>
		<link>http://ropox.net/archives/20449</link>
		<comments>http://ropox.net/archives/20449#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:22:22 +0000</pubDate>
		<dc:creator>ropox</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://ropox.net/?p=20449</guid>
		<description><![CDATA[Getting the page and viewport dimensions using jQuery is as easy as 1 2 3


Related posts:<ol><li><a href='http://ropox.net/archives/28457' rel='bookmark' title='Permanent Link: get CKEditor data with Jquery &#8211; no plugin required'>get CKEditor data with Jquery &#8211; no plugin required</a> <small>If you are using the CKeditor also with JQuery (not...</small></li>
<li><a href='http://ropox.net/archives/1081' rel='bookmark' title='Permanent Link: JQuery wildcard selectors'>JQuery wildcard selectors</a> <small>JQuery wildcard selectors on select boxes, how to reset all...</small></li>
<li><a href='http://ropox.net/archives/3708' rel='bookmark' title='Permanent Link: Custom info windows with jQuery and Google Maps'>Custom info windows with jQuery and Google Maps</a> <small>Ben Nolan has a writeup on a new feature in...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brown" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fropox.net%252Farchives%252F20449%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FcrkOnG%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Getting%20the%20page%20and%20viewport%20dimensions%20using%20jQuery%20%23%22%20%7D);"></div>
<p>thats why i Love jquery, cause everything is so simple&#8230;</p>
<p>To get the width and height of the whole page (document), use:</p>
<pre class="brush: javascript">
var pageWidth = $(document).width();
var pageHeight = $(document).height();
</pre>
<p>To get the width and height of the viewport (window), use:</p>
<pre class="brush: javascript">
var viewportWidth = $(window).width();
var viewportHeight = $(window).height();
</pre>
<p>
Opera though has a different approach. with Opera 9.5 $(window).height() returns the document height (more info here)<br />
you can get around this by using</p>
<pre class="brush: javascript">
var viewportHeight = window.innerHeight ? window.innerHeight : $(window).height();
</pre>
<div class="fb-widget" id="fbtb-1f001082efeb4f25a045889e3aba2e24" style="border:0; outline:0; padding:0; margin:0; position:relative;" itemscope="" itemid="http://www.freebase.com/id/en/javascript" itemtype="http://www.freebase.com/id/computer/programming_language"> <form class="fb-widget-placeholder" style="border:0; outline:0; padding:0; margin:0;"> <input name="src" value="http://www.freebase.com/widget/topic?track=topicblocks_plugin_tags&amp;mode=content&amp;id=%2Fen%2Fjavascript&amp;id=%2Fen%2Fjquery&amp;id=%2Fen%2Fopen_source" type="hidden" /> <input name="width" value="413" type="hidden" /> <input name="height" value="285" type="hidden" /> <span style="line-height:1; border:0; outline:0; padding:0; margin:0; display:inline-block; padding:5px; background:#eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> <div style="vertical-align:top; border:1px solid #ddd; outline:0; padding:0; margin:0; position: relative; width:400px; height:220px; overflow:auto; background-color:#fff"> <ul style="line-height:1; outline:0; padding:0; margin: 10px auto; list-style-type: none; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: 300px; "> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/javascript?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="JavaScript" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> JavaScript</a> </li> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/jquery?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="jQuery" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> jQuery</a> </li> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/open_source?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="Open source" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> Open source</a> </li> </ul> </div> </span> </form> </div>


<p>Related posts:<ol><li><a href='http://ropox.net/archives/28457' rel='bookmark' title='Permanent Link: get CKEditor data with Jquery &#8211; no plugin required'>get CKEditor data with Jquery &#8211; no plugin required</a> <small>If you are using the CKeditor also with JQuery (not...</small></li>
<li><a href='http://ropox.net/archives/1081' rel='bookmark' title='Permanent Link: JQuery wildcard selectors'>JQuery wildcard selectors</a> <small>JQuery wildcard selectors on select boxes, how to reset all...</small></li>
<li><a href='http://ropox.net/archives/3708' rel='bookmark' title='Permanent Link: Custom info windows with jQuery and Google Maps'>Custom info windows with jQuery and Google Maps</a> <small>Ben Nolan has a writeup on a new feature in...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ropox.net/archives/20449/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image upload with AS3 mac problem fix</title>
		<link>http://ropox.net/archives/16145</link>
		<comments>http://ropox.net/archives/16145#comments</comments>
		<pubDate>Tue, 27 Apr 2010 06:33:02 +0000</pubDate>
		<dc:creator>ropox</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://ropox.net/?p=16145</guid>
		<description><![CDATA[I hit my head several times on the wall before I found out why browsers on MAC dont work exactly as browsers on windows, after uploading a file via Flash.


Related posts:<ol><li><a href='http://ropox.net/archives/17137' rel='bookmark' title='Permanent Link: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs'>Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs</a> <small>It was nice enough in AS2 when you did a...</small></li>
<li><a href='http://ropox.net/archives/28665' rel='bookmark' title='Permanent Link: 25 jQuery image galleries and slideshow plugins'>25 jQuery image galleries and slideshow plugins</a> <small>For some sites, image galleries are an absolute must. Portfolios...</small></li>
<li><a href='http://ropox.net/archives/4240' rel='bookmark' title='Permanent Link: [AJAX Magazine] DHTMLX Released Version 2.1'>[AJAX Magazine] DHTMLX Released Version 2.1</a> <small>DHTMLX announced the update of their Ajax UI Toolkit, a...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brown" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fropox.net%252Farchives%252F16145%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2F91k5Wg%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Image%20upload%20with%20AS3%20mac%20problem%20fix%20%23%22%20%7D);"></div>
<p>I hit my head several times on the wall before I found out why browsers on MAC dont work exactly as browsers on windows, after uploading a file via Flash.</p>
<p>the reason is simple : on MAC the browsers never calls onComplete = function(fileRef:FileReference) {}. Which means that the image is uploaded alright, but the flash app never gets a response back that the file has finished uploading.</p>
<p>All you have to do is , on your php/aspx/apsx/py or whatever server side file is handling your file upload from flash, you need to print something at the end of uploading.</p>
<p>for example in php, you could print the word : completed.</p>
<pre class="brush: php">
print &quot;completed&quot;;
</pre>
<p>you can print whatever word you want, it doesnt matter, all that matters is that the server side file is printing something (After the upload has finished) and browsers on mac platforms, will pick up on that , and your file upload will work!</p>
<div class="fb-widget" id="fbtb-34f84212e59a4516b7f4b6d34ad2b9e8" style="border:0; outline:0; padding:0; margin:0; position:relative;" itemscope="" itemid="http://www.freebase.com/id/en/actionscript" itemtype="http://www.freebase.com/id/computer/programming_language"> <form class="fb-widget-placeholder" style="border:0; outline:0; padding:0; margin:0;"> <input name="src" value="http://www.freebase.com/widget/topic?track=topicblocks_plugin_tags&amp;mode=content&amp;id=%2Fen%2Factionscript&amp;id=%2Fen%2Fadobe_flash&amp;id=%2Fen%2Fphp" type="hidden" /> <input name="width" value="413" type="hidden" /> <input name="height" value="285" type="hidden" /> <span style="line-height:1; border:0; outline:0; padding:0; margin:0; display:inline-block; padding:5px; background:#eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> <div style="vertical-align:top; border:1px solid #ddd; outline:0; padding:0; margin:0; position: relative; width:400px; height:220px; overflow:auto; background-color:#fff"> <ul style="line-height:1; outline:0; padding:0; margin: 10px auto; list-style-type: none; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: 300px; "> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/actionscript?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="ActionScript" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> ActionScript</a> </li> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/adobe_flash?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="Adobe Flash" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> Adobe Flash</a> </li> <li style="line-height:1; outline:0; margin: 4px 0; padding:5px; background: #eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; "> <a href="" style="font-size: 12px; line-height: 50px; text-decoration: none; color: #17B; font-weight: bold;"> <img src="http://img.freebase.com/api/trans/image_thumb/en/php?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=50&amp;mode=fillcropmid&amp;maxwidth=50" title="PHP" style="border:0; outline:0; padding:0; margin:0 10px 0 0; float: left; border: 1px solid #ccc;"> PHP</a> </li> </ul> </div> </span> </form> </div>


<p>Related posts:<ol><li><a href='http://ropox.net/archives/17137' rel='bookmark' title='Permanent Link: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs'>Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs</a> <small>It was nice enough in AS2 when you did a...</small></li>
<li><a href='http://ropox.net/archives/28665' rel='bookmark' title='Permanent Link: 25 jQuery image galleries and slideshow plugins'>25 jQuery image galleries and slideshow plugins</a> <small>For some sites, image galleries are an absolute must. Portfolios...</small></li>
<li><a href='http://ropox.net/archives/4240' rel='bookmark' title='Permanent Link: [AJAX Magazine] DHTMLX Released Version 2.1'>[AJAX Magazine] DHTMLX Released Version 2.1</a> <small>DHTMLX announced the update of their Ajax UI Toolkit, a...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ropox.net/archives/16145/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery wildcard selectors</title>
		<link>http://ropox.net/archives/1081</link>
		<comments>http://ropox.net/archives/1081#comments</comments>
		<pubDate>Mon, 19 Jan 2009 13:44:01 +0000</pubDate>
		<dc:creator>ropox</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[selectors]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[wildcard]]></category>

		<guid isPermaLink="false">http://ropox.net/?p=1081</guid>
		<description><![CDATA[JQuery wildcard selectors on select boxes, how to reset all select boxes using wildcards


Related posts:<ol><li><a href='http://ropox.net/archives/28457' rel='bookmark' title='Permanent Link: get CKEditor data with Jquery &#8211; no plugin required'>get CKEditor data with Jquery &#8211; no plugin required</a> <small>If you are using the CKeditor also with JQuery (not...</small></li>
<li><a href='http://ropox.net/archives/16145' rel='bookmark' title='Permanent Link: Image upload with AS3 mac problem fix'>Image upload with AS3 mac problem fix</a> <small>I hit my head several times on the wall before...</small></li>
<li><a href='http://ropox.net/archives/20449' rel='bookmark' title='Permanent Link: Getting the page and viewport dimensions using jQuery'>Getting the page and viewport dimensions using jQuery</a> <small>Getting the page and viewport dimensions using jQuery is as...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brown" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fropox.net%252Farchives%252F1081%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JQuery%20wildcard%20selectors%20%23%22%20%7D);"></div>
<p>Ok i spend a lot of time on finding how to work this around using JQuery, but i finally found a solution.</p>
<p>Say we have some elements in our page that we don&#8217;t know their ID&#8217;s. For example in my case I was printing dynamically select elements but did not know their ID cause each id had an integer to distinguish it from the others. What i wanted to do was to reset all select boxes with a certain word in their ID&#8217;s to their first element as soon as one of them changed.</p>
<p>For example all the elements that i wanted to change had the word &#8220;upgrade&#8221; in them plus some other numbers. What I did was on the onChange function that would trigger the event:</p>
<pre class="brush: javascript">
$(&quot;select[id^=upgrade]&quot;).each(function() {
$(this).val(&quot;-&quot;);
});
</pre>
<p>which would return to me all elements that started with the word upgrade.  <a href="http://docs.jquery.com/Selectors" target="_blank">JQuery selectors</a> are great. Using the each function you can go around all selectors and set the value of each select box to &#8220;-&#8221; which in my case the &#8220;-&#8221; was the first element of each select box. Usually you will have as the first element something like &#8220;0&#8243; or &#8220;&#8221; (empty).</p>
<p>Also searching <a href="http://colourgray.wordpress.com/2008/08/05/jquery-wildcard-selectors/" target="_blank">I found this interesting snippet </a>which didnt work for me, but i assume i did something wrong.</p>
<pre class="brush: javascript"> $(&#039;#myElement&#039;).html();</pre>
<p>You can use \\S* to make wildcard selections, I.E.:</p>
<pre class="brush: javascript"> $(&#039;#myEle\\S*&#039;).each();</pre>
<p>Dont know why it didnt work on my case&#8230;.</p>
<div class="fb-widget" id="fbtb-8bf422875e5d4004a04d6169dc295648" style="border:0; outline:0; padding:0; margin:0; position:relative;" itemscope="" itemid="http://www.freebase.com/id/en/jquery" itemtype="http://www.freebase.com/id/computer/software"> <form class="fb-widget-placeholder" style="border:0; outline:0; padding:0; margin:0;"> <input name="src" value="http://www.freebase.com/widget/topic?track=topicblocks_plugin_tags&amp;mode=content&amp;id=%2Fen%2Fjquery" type="hidden" /> <input name="width" value="413" type="hidden" /> <input name="height" value="285" type="hidden" /> <span style="line-height:1; border:0; outline:0; padding:0; margin:0; display:inline-block; padding:5px; background:#eee; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;"> <div style="text-align:left; vertical-align:baseline; line-height:1; border:0; outline:0; margin:0 0 5px 5px;"> <a style="text-align:left; vertical-align:baseline; font-family:'Helvetica Neue', Arial, sans-serif; font-size:13px; font-weight:bold; line-height:1.6; text-decoration:none; color:#17b; border:0; outline:0; padding:0; margin:0;" href="http://www.freebase.com/view/en/jquery" target="_blank" > jQuery </a> </div> <div style="vertical-align:top; border:1px solid #ddd; outline:0; padding:0; margin:0; position: relative; width:400px; height:220px; overflow:auto; background-color:#fff"> <img src="http://img.freebase.com/api/trans/image_thumb/en/jquery?pad=1&amp;errorid=%2Ffreebase%2Fno_image_png&amp;maxheight=150&amp;mode=fillcropmid&amp;maxwidth=150" title="jQuery" style="border:0; outline:0; padding: 0; margin: 28px auto; display: block;"> </div> </span> </form> </div>


<p>Related posts:<ol><li><a href='http://ropox.net/archives/28457' rel='bookmark' title='Permanent Link: get CKEditor data with Jquery &#8211; no plugin required'>get CKEditor data with Jquery &#8211; no plugin required</a> <small>If you are using the CKeditor also with JQuery (not...</small></li>
<li><a href='http://ropox.net/archives/16145' rel='bookmark' title='Permanent Link: Image upload with AS3 mac problem fix'>Image upload with AS3 mac problem fix</a> <small>I hit my head several times on the wall before...</small></li>
<li><a href='http://ropox.net/archives/20449' rel='bookmark' title='Permanent Link: Getting the page and viewport dimensions using jQuery'>Getting the page and viewport dimensions using jQuery</a> <small>Getting the page and viewport dimensions using jQuery is as...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://ropox.net/archives/1081/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

