<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Chris Allen, software developer</title>
	
	<link>http://cysemic.com</link>
	<description>cysemic.com</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:09:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CommentsForCysemic" /><feedburner:info uri="commentsforcysemic" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Comment on Very simple textbox watermark using JQuery by vb</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-2969</link>
		<dc:creator>vb</dc:creator>
		<pubDate>Tue, 24 Jan 2012 09:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-2969</guid>
		<description>ghhhhhhhhh</description>
		<content:encoded><![CDATA[<p>ghhhhhhhhh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by RAJ Nimbalkar</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-2950</link>
		<dc:creator>RAJ Nimbalkar</dc:creator>
		<pubDate>Thu, 19 Jan 2012 18:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-2950</guid>
		<description>watermark focus-off style problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
when the text box looses the .FOCUS(), text-box don't acquire the .watermarkOn class. for the fixed style of watermark

replace the .addclass() &amp; removeClass() with
.toggleClass("watermarkOn")




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
total code
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 $("#textBox1").focus(function() {

        $(this).filter(function() {

            // We only want this to apply if there's not 
            // something actually entered
            return $(this).val() == "" || $(this).val() == "Type here"

        }).toggleClass("watermarkOn").val("");

    });

    // Define what happens when the textbox loses focus
    // Add the watermark class and default text
    $("#textBox1").blur(function() {

        $(this).filter(function() {

            // We only want this to apply if there's not
            // something actually entered
            return $(this).val() == ""

        }).toggleClass("watermarkOn").val("Type here");

    });




</description>
		<content:encoded><![CDATA[<p>watermark focus-off style problem<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
when the text box looses the .FOCUS(), text-box don&#8217;t acquire the .watermarkOn class. for the fixed style of watermark</p>
<p>replace the .addclass() &amp; removeClass() with<br />
.toggleClass(&#8220;watermarkOn&#8221;)</p>
<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
total code<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
 $(&#8220;#textBox1&#8243;).focus(function() {</p>
<p>        $(this).filter(function() {</p>
<p>            // We only want this to apply if there&#8217;s not<br />
            // something actually entered<br />
            return $(this).val() == &#8220;&#8221; || $(this).val() == &#8220;Type here&#8221;</p>
<p>        }).toggleClass(&#8220;watermarkOn&#8221;).val(&#8220;&#8221;);</p>
<p>    });</p>
<p>    // Define what happens when the textbox loses focus<br />
    // Add the watermark class and default text<br />
    $(&#8220;#textBox1&#8243;).blur(function() {</p>
<p>        $(this).filter(function() {</p>
<p>            // We only want this to apply if there&#8217;s not<br />
            // something actually entered<br />
            return $(this).val() == &#8220;&#8221;</p>
<p>        }).toggleClass(&#8220;watermarkOn&#8221;).val(&#8220;Type here&#8221;);</p>
<p>    });</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by Kapil Singh</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-2629</link>
		<dc:creator>Kapil Singh</dc:creator>
		<pubDate>Wed, 16 Nov 2011 11:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-2629</guid>
		<description>Hi,
I was reading your article and I would like to appreciate you for making it very simple and understandable. This article gives me a basic idea of watermark functionality in textbox by jquery and it will help me a lot.
Check following link too it might be helpful.

http://mindstick.com/Blog/136/Using watermark functionality in textbox by JQuery

Thank you very much!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was reading your article and I would like to appreciate you for making it very simple and understandable. This article gives me a basic idea of watermark functionality in textbox by jquery and it will help me a lot.<br />
Check following link too it might be helpful.</p>
<p><a href="http://mindstick.com/Blog/136/Using" rel="nofollow">http://mindstick.com/Blog/136/Using</a> watermark functionality in textbox by JQuery</p>
<p>Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by Karan</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-2178</link>
		<dc:creator>Karan</dc:creator>
		<pubDate>Wed, 03 Aug 2011 09:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-2178</guid>
		<description>Hi 

There is an issue in this method. run the page and write "Type here" in the textbox and then click on any other location and then again click on the textbox the text you have entered will be lost.

Regards
Karan</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>There is an issue in this method. run the page and write &#8220;Type here&#8221; in the textbox and then click on any other location and then again click on the textbox the text you have entered will be lost.</p>
<p>Regards<br />
Karan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by Maxali</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-1713</link>
		<dc:creator>Maxali</dc:creator>
		<pubDate>Thu, 12 May 2011 19:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-1713</guid>
		<description>Very usefull, thanks</description>
		<content:encoded><![CDATA[<p>Very usefull, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by ASP.NET MVC Watermark Textbox Extension method « Abdalla Massani’s Blog</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-1696</link>
		<dc:creator>ASP.NET MVC Watermark Textbox Extension method « Abdalla Massani’s Blog</dc:creator>
		<pubDate>Fri, 06 May 2011 19:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-1696</guid>
		<description>[...] http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/ I have included this as part of the HtmlExtension utility [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/" rel="nofollow">http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/</a> I have included this as part of the HtmlExtension utility [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by ASP.NET MVC Textbox Extension method to include Watermark « Abdalla Massani’s Blog</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-1695</link>
		<dc:creator>ASP.NET MVC Textbox Extension method to include Watermark « Abdalla Massani’s Blog</dc:creator>
		<pubDate>Fri, 06 May 2011 18:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-1695</guid>
		<description>[...] Ref: http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Ref: <a href="http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/" rel="nofollow">http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by Taher</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-1650</link>
		<dc:creator>Taher</dc:creator>
		<pubDate>Wed, 27 Apr 2011 11:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-1650</guid>
		<description>Very Very useful. Thanks :)</description>
		<content:encoded><![CDATA[<p>Very Very useful. Thanks <img src='http://cysemic.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very simple textbox watermark using JQuery by kcBand</title>
		<link>http://cysemic.com/2008/12/very-simple-textbox-watermark-using-jquery/comment-page-1/#comment-1433</link>
		<dc:creator>kcBand</dc:creator>
		<pubDate>Wed, 23 Mar 2011 16:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=171#comment-1433</guid>
		<description>@EvX and everyone,

EvX, your function works, mostly. (Foremost, thx for the function...)

Issue:
When pressing TAB in textbox_A to move textbox_B, textbox_B does have the css class watermarkON removed, however textbox_B does not actually have typing focus.  That is, I can type, but no text is entered into textbox_B.

If I press ENTER/RETURN in textbox_A which then goes to textbox_B, then, yes, textbox_B both has focus and when I type text is entered into textbox_B.

Workaround:
Add $("#textbox_A").keyDown (in the .js file for that page) to handle the tab keyCode and move / set focus to textbox_B.


$("#textbox_A").keydown(function(event) {
	if (HandleTabOrEnter(event, "#textbox_B")) { return; }
});

Any insights as to how to pass the TAB within your function is appreciated</description>
		<content:encoded><![CDATA[<p>@EvX and everyone,</p>
<p>EvX, your function works, mostly. (Foremost, thx for the function&#8230;)</p>
<p>Issue:<br />
When pressing TAB in textbox_A to move textbox_B, textbox_B does have the css class watermarkON removed, however textbox_B does not actually have typing focus.  That is, I can type, but no text is entered into textbox_B.</p>
<p>If I press ENTER/RETURN in textbox_A which then goes to textbox_B, then, yes, textbox_B both has focus and when I type text is entered into textbox_B.</p>
<p>Workaround:<br />
Add $(&#8220;#textbox_A&#8221;).keyDown (in the .js file for that page) to handle the tab keyCode and move / set focus to textbox_B.</p>
<p>$(&#8220;#textbox_A&#8221;).keydown(function(event) {<br />
	if (HandleTabOrEnter(event, &#8220;#textbox_B&#8221;)) { return; }<br />
});</p>
<p>Any insights as to how to pass the TAB within your function is appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JQuery textbox watermark revisited: making it a plugin by Jules Vasconez</title>
		<link>http://cysemic.com/2010/03/jquery-textbox-watermark-revisited-making-it-a-plugin/comment-page-1/#comment-1385</link>
		<dc:creator>Jules Vasconez</dc:creator>
		<pubDate>Fri, 18 Mar 2011 16:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://cysemic.com/?p=395#comment-1385</guid>
		<description>Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your site? My website is in the exact same niche as yours and my users would really benefit from a lot of the information you provide here. Please let me know if this alright with you. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your site? My website is in the exact same niche as yours and my users would really benefit from a lot of the information you provide here. Please let me know if this alright with you. Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss><!-- Dynamic page generated in 0.392 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-01-30 07:26:45 -->

