<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	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">
	<channel>
		<title>WordPress DK Forum Tag: onfocus - Recent Topics</title>
		<link>http://wp-danmark.dk/forum/tags/onfocus</link>
		<description>WordPress DK Forum Tag: onfocus - Recent Topics</description>
		<language>da-DK</language>
		<pubDate>Wed, 26 Aug 2026 02:39:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/tags/onfocus/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>streller om "Contact Form 7 - onblur og onfocus"</title>
			<link>http://wp-danmark.dk/forum/topic/contact-form-7-onblur-og-onfocus#post-29275</link>
			<pubDate>fre, 12 aug 2011 14:22:20 +0000</pubDate>
			<dc:creator>streller</dc:creator>
			<guid isPermaLink="false">29275@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Læste dette blogindlæg &#60;a href=&#34;http://hecode.com/easy-contact-form-7-guide-and-customization/&#34; rel=&#34;nofollow&#34;&#62;http://hecode.com/easy-contact-form-7-guide-and-customization/&#60;/a&#62; omkring onblur og onfocus til Contact Form 7.&#60;/p&#62;
&#60;p&#62;Har fulgt guiden, og været inde på filen /modules/text.php, og ændret som det står i blog indlægget:&#60;/p&#62;
&#60;p&#62;Ændre &#60;code&#62;$html = '&#38;lt;input type=&#34;text&#34; name=&#34;' . $name . '&#34; value=&#34;' . esc_attr( $value ) . '&#34;' . $atts . ' /&#38;gt;'; &#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Til &#60;code&#62; $html = '&#38;lt;input type=&#34;text&#34; name=&#34;' . $name . '&#34; value=&#34;' . esc_attr( $value ) . '&#34;' . $atts . ' onfocus=&#34;if(this.value==\'';&#60;/p&#62;
&#60;p&#62;$html = $html . esc_attr( $value ) . '\') this.value=\'\';&#34; onblur=&#34;if(this.value==\'\') this.value=\'' . esc_attr( $value ) . '\';&#34; /&#38;gt;'; &#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Men det virker ikke på textarea. Nogen der har et bud på, hvad jeg kan gøre for at få onblur og onfocus til at virke på textarea også?&#60;/p&#62;
&#60;p&#62;/Streller
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
