<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/clear</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 21:07:36 GMT</pubDate>
<item>
<title>(CSS) Clear that really works - jkdreaming</title>
<link>http://snipplr.com/view/69758/clear-that-really-works/</link>
<description><![CDATA[ <p>Thanks Thierry!</p> ]]></description>
<pubDate>Sat, 02 Feb 2013 03:29:09 GMT</pubDate>
<guid>http://snipplr.com/view/69758/clear-that-really-works/</guid>
</item>
<item>
<title>(jQuery) jQuery: Clear All Text Fields (with one line of code) - mattvbiggs</title>
<link>http://snipplr.com/view/69091/jquery-clear-all-text-fields-with-one-line-of-code/</link>
<description><![CDATA[ <p>This can come in handy for a reset or cancel button. You can clear all inputs within a single div in one line of code. Pretty sexy.</p> ]]></description>
<pubDate>Thu, 13 Dec 2012 05:27:36 GMT</pubDate>
<guid>http://snipplr.com/view/69091/jquery-clear-all-text-fields-with-one-line-of-code/</guid>
</item>
<item>
<title>(JavaScript) Clear form with JavaScript - laxman2021</title>
<link>http://snipplr.com/view/68796/clear-form-with-javascript/</link>
<description><![CDATA[ <p>JavaScript is the only option, if you want to have the ability to clear all form fields. Yes, HTML form has Reset method, but if the form has initial values, then Reset will return the form to the initial state instead of clear input fields. This example also shows how to create an access loop for each form element. You can uncomment alert before "switch" line and you will see the message before element value is cleared. Drop down select-one will be set to its first option because it can not be treated like input text field or select-multiple</p> ]]></description>
<pubDate>Wed, 28 Nov 2012 14:39:07 GMT</pubDate>
<guid>http://snipplr.com/view/68796/clear-form-with-javascript/</guid>
</item>
<item>
<title>(Bash) clear-fix - mattlowden</title>
<link>http://snipplr.com/view/66930/clearfix/</link>
<description><![CDATA[ <p>Makes the element with the class "clear-fix" extend to the height of the inner floated elements.</p> ]]></description>
<pubDate>Tue, 28 Aug 2012 20:19:03 GMT</pubDate>
<guid>http://snipplr.com/view/66930/clearfix/</guid>
</item>
<item>
<title>(HTML) Clearfix - rickygri</title>
<link>http://snipplr.com/view/66571/clearfix/</link>
<description><![CDATA[ <p>The problem happens when a floated element is within a container box, that element does not automatically force the container’s height adjust to the floated element. When an element is floated, its parent no longer contains it because the float is removed from the flow.</p> ]]></description>
<pubDate>Tue, 07 Aug 2012 21:21:34 GMT</pubDate>
<guid>http://snipplr.com/view/66571/clearfix/</guid>
</item>
<item>
<title>(DOS Batch) Save (and clear) Windows Event Logs - Rectifier</title>
<link>http://snipplr.com/view/65885/save-and-clear-windows-event-logs/</link>
<description><![CDATA[ <p>Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command commented. Tested on a local windows 7 machine, but should work for xp, server 2k3 and 2k8.</p> ]]></description>
<pubDate>Sun, 01 Jul 2012 03:54:14 GMT</pubDate>
<guid>http://snipplr.com/view/65885/save-and-clear-windows-event-logs/</guid>
</item>
<item>
<title>(DOS Batch) Clear Windows 7 Event Log - Rectifier</title>
<link>http://snipplr.com/view/65884/clear-windows-7-event-log/</link>
<description><![CDATA[ <p>This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.</p> ]]></description>
<pubDate>Sun, 01 Jul 2012 03:42:51 GMT</pubDate>
<guid>http://snipplr.com/view/65884/clear-windows-7-event-log/</guid>
</item>
<item>
<title>(jQuery) Clear all text fields on focus based on original value with single function - Huskie</title>
<link>http://snipplr.com/view/64478/clear-all-text-fields-on-focus-based-on-original-value-with-single-function/</link>
<description><![CDATA[ <p>Clear all text fields on focus based on original value with single function. The code checks for a 'title' attribute on each input with class 'text' and compares this to the current value of the field.</p> ]]></description>
<pubDate>Tue, 10 Apr 2012 19:29:59 GMT</pubDate>
<guid>http://snipplr.com/view/64478/clear-all-text-fields-on-focus-based-on-original-value-with-single-function/</guid>
</item>
<item>
<title>(CSS) Best Method for Clearing Floats - Huskie</title>
<link>http://snipplr.com/view/62371/best-method-for-clearing-floats/</link>
<description><![CDATA[ <p>In my opinion, this is the best cross-browser method of clearing floated elements in a container. Remember to add .clear-fix{zoom:1;} to an IE specific stylesheet, otherwise IE 7 will complain.</p> ]]></description>
<pubDate>Sat, 07 Jan 2012 00:59:43 GMT</pubDate>
<guid>http://snipplr.com/view/62371/best-method-for-clearing-floats/</guid>
</item>
<item>
<title>(CSS) clear floats - theoni</title>
<link>http://snipplr.com/view/59617/clear-floats/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 03:07:32 GMT</pubDate>
<guid>http://snipplr.com/view/59617/clear-floats/</guid>
</item>
<item>
<title>(JavaScript) Clear Field on Focus - eldanieldeepak</title>
<link>http://snipplr.com/view/59042/clear-field-on-focus/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 24 Sep 2011 03:53:24 GMT</pubDate>
<guid>http://snipplr.com/view/59042/clear-field-on-focus/</guid>
</item>
<item>
<title>(jQuery) Reset/clear a form - vigoncas</title>
<link>http://snipplr.com/view/59011/resetclear-a-form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 23 Sep 2011 14:20:43 GMT</pubDate>
<guid>http://snipplr.com/view/59011/resetclear-a-form/</guid>
</item>
<item>
<title>(HTML) Form Value Clear/Reappear Script - officiallyWise</title>
<link>http://snipplr.com/view/58183/form-value-clearreappear-script/</link>
<description><![CDATA[ <p>In HTML forms, places this script in inputs to clear the value. If input box is blank, original value repopulates the input box.</p> ]]></description>
<pubDate>Fri, 26 Aug 2011 04:49:59 GMT</pubDate>
<guid>http://snipplr.com/view/58183/form-value-clearreappear-script/</guid>
</item>
<item>
<title>(CSS) Invisible hr tag - rprol</title>
<link>http://snipplr.com/view/57519/invisible-hr-tag/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 02 Aug 2011 17:32:05 GMT</pubDate>
<guid>http://snipplr.com/view/57519/invisible-hr-tag/</guid>
</item>
<item>
<title>(CSS) Clearing a Float without Source Markup - xcsteve99</title>
<link>http://snipplr.com/view/57130/clearing-a-float-without-source-markup/</link>
<description><![CDATA[ <p>just add a class of .clearfix to any element containing a float needing to be cleared</p> ]]></description>
<pubDate>Tue, 26 Jul 2011 02:01:41 GMT</pubDate>
<guid>http://snipplr.com/view/57130/clearing-a-float-without-source-markup/</guid>
</item>
<item>
<title>(jQuery) jQuery Text Clear and Restore - Fitzgenius</title>
<link>http://snipplr.com/view/55449/jquery-text-clear-and-restore/</link>
<description><![CDATA[ <p>This should enable you to clear elements such as search boxes effectively whilst maintaining usability.

Enjoy!</p> ]]></description>
<pubDate>Sat, 18 Jun 2011 06:07:16 GMT</pubDate>
<guid>http://snipplr.com/view/55449/jquery-text-clear-and-restore/</guid>
</item>
<item>
<title>(SQL) How to clear the history list from the \"servername\" field of SSMS Connect-to-server dialog box? - derebus</title>
<link>http://snipplr.com/view/54988/how-to-clear-the-history-list-from-the-servername-field-of-ssms-connecttoserver-dialog-box/</link>
<description><![CDATA[ <p>http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx</p> ]]></description>
<pubDate>Wed, 08 Jun 2011 03:59:52 GMT</pubDate>
<guid>http://snipplr.com/view/54988/how-to-clear-the-history-list-from-the-servername-field-of-ssms-connecttoserver-dialog-box/</guid>
</item>
<item>
<title>(Bash) Empty keyboard buffer - niglesias</title>
<link>http://snipplr.com/view/53827/empty-keyboard-buffer/</link>
<description><![CDATA[ <p>Empties the keyboard buffer. Useful to discard keyboard input during a command execution inside a bash script.
Try this script without this line:

read -t 0.1 -N 255

and enter any garbage ([ENTER] and all) during these 2 seconds window...

The modifiers:
-t 0.1       Tiemout read on 0.1 seconds - so read won't wait to get all 255 characters
-N 255    Read 255 characters, treating any special character ([ENTER], tabs, etc.) as normal characters</p> ]]></description>
<pubDate>Fri, 20 May 2011 05:51:02 GMT</pubDate>
<guid>http://snipplr.com/view/53827/empty-keyboard-buffer/</guid>
</item>
<item>
<title>(CSS) CSS Clear Fix - sethetter</title>
<link>http://snipplr.com/view/51884/css-clear-fix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 10 Apr 2011 11:07:19 GMT</pubDate>
<guid>http://snipplr.com/view/51884/css-clear-fix/</guid>
</item>
<item>
<title>(HTML) R2C - Div Clear - r2cgroup</title>
<link>http://snipplr.com/view/48749/r2c--div-clear/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 10 Feb 2011 11:32:56 GMT</pubDate>
<guid>http://snipplr.com/view/48749/r2c--div-clear/</guid>
</item>
</channel>
</rss>