<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - crutzdesigns</title>
<link>http://snipplr.com/users/crutzdesigns</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 16:09:36 GMT</pubDate>
<item>
<title>(jQuery) jQuery Cursor Functions</title>
<link>http://snipplr.com/view/48459/jquery-cursor-functions/</link>
<description><![CDATA[ <p>Used on ``'s and ``'s
Several jQuery functions for getting the current cursor position and setting the current cursor position. Also allows for selecting text in a certain range.

Usage:

  $("input[name='username']").getCursorPosition();
  $("input[name='username']").setCursorPosition(5);
  $("input[name='username']").getSelection();
  $("input[name='username']").getSelectionStart();
  $("input[name='username']").getSelectionEnd();
  $("input[name='username']").setSelection(4, 20);
</p> ]]></description>
<pubDate>Sat, 05 Feb 2011 09:48:04 GMT</pubDate>
<guid>http://snipplr.com/view/48459/jquery-cursor-functions/</guid>
</item>
<item>
<title>(jQuery) jQuery.htmlentities</title>
<link>http://snipplr.com/view/48380/jqueryhtmlentities/</link>
<description><![CDATA[ <p>Takes a string as an argument and returns it with htmlentities

Usage:
$.htmlentities("hello bob&amp;doug");

Returns:
&amp;lt;body&amp;gt;hello bob&amp;amp;doug&amp;lt;/body&amp;gt;</p> ]]></description>
<pubDate>Fri, 04 Feb 2011 07:41:48 GMT</pubDate>
<guid>http://snipplr.com/view/48380/jqueryhtmlentities/</guid>
</item>
<item>
<title>(jQuery) jQuery().xpath</title>
<link>http://snipplr.com/view/48379/jqueryxpath/</link>
<description><![CDATA[ <p>Returns the xpath to selected element.

Usage:
$("div#item1").xpath();</p> ]]></description>
<pubDate>Fri, 04 Feb 2011 07:36:17 GMT</pubDate>
<guid>http://snipplr.com/view/48379/jqueryxpath/</guid>
</item>
<item>
<title>(jQuery) jQuery().toHTMLString</title>
<link>http://snipplr.com/view/48376/jquerytohtmlstring/</link>
<description><![CDATA[ <p>Gets the currently selected element as a string.

Usage:
$("div#item1").toHTMLString();</p> ]]></description>
<pubDate>Fri, 04 Feb 2011 07:18:39 GMT</pubDate>
<guid>http://snipplr.com/view/48376/jquerytohtmlstring/</guid>
</item>
</channel>
</rss>