 




<?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>IT Answers &#187; INPUT element</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/input-element/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 16:56:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>jQuery change INPUT type &#8211; name or full field on forms</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/jquery-change-input-type-name-or-full-field-on-forms/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/jquery-change-input-type-name-or-full-field-on-forms/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 15:21:32 +0000</pubDate>
		<dc:creator>Onlinemkt</dc:creator>
				<category><![CDATA[INPUT element]]></category>
		<category><![CDATA[INPUT tag]]></category>
		<category><![CDATA[INPUT TYPE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript libraries]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[Web forms]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I´m really busy on this, I need a Jquery to replace some form and input attributes because I´m using a third part script wich don´t give me a chance to change the ids and classes. I searched all internet and now I decided to post here&#8230; I need Jquery to change the fields (on [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>I´m really busy on this, I need a Jquery to replace some form and input attributes because I´m using a third part script wich don´t give me a chance to change the ids and classes. I searched all internet and now I decided to post here&#8230; I need Jquery to change the fields (on page load).. basically this:</p>
<p>(1)<br />
REPLACE ALL:<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;inputname&#8221; id=&#8221;inputid&#8221; class=&#8221;inputclass&#8221;/&gt;<br />
TO THIS:<br />
&lt;a href=&#8221;http://&#8230;.com&#8221; target=&#8221;_blank&#8221;&gt;<br />
&lt;img src=&#8221;http://&#8230;some.jpg&#8221; name=&#8221;imgname&#8221; id=&#8221;imgid&#8221; class=&#8221;cf-box-b&#8221;/&gt;<br />
&lt;/a&gt;</p>
<p>(2)<br />
CHANGE INPUT TYPE / NAME / CLASS / ID:</p>
<pre>&lt;input type="checkbox" name="inputname" id="inputid" class="inputclass"/&gt;</pre>
<p>TO THIS -SUBMIT-:</p>
<pre>&lt;input<b> type="submit"</b> name="inputname" id="inputid" class="inputclass"/&gt;</pre>
<p>OR THIS -CLASS:</p>
<pre>&lt;input type="checkbox" name="inputname" id="inputid" <b>class="myownclass"</b>/&gt;</pre>
<p>(3)<br />
ADD NAME / CLASS / ID TO FIELDSETS OR INPUTS:</p>
<pre>&lt;fieldset class="fieldsetclass"&gt;</pre>
<p>TO THIS:</p>
<pre>&lt;fieldset class="fieldsetclass"<b> name"myclassname"</b>&gt;</pre>
<p>OR INPUT FROM THIS:</p>
<pre>&lt;input type="submit"&gt;</pre>
<p>TO THIS:</p>
<pre>&lt;input type="submit" <b>name="myinputname"</b>&gt;</pre>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>It´s basically a script to replace classes, ids, input types and it must replace on page load and must show the result when page load, not on click or on focus, etc&#8230; </p>
<p>I hope it´s clear what I need&#8230; and hope you can help ! <img src='http://itknowledgeexchange.techtarget.com/itanswers/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I really need help on this because I´m going crazy with all Jquery code I wrote and nothing happens.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/jquery-change-input-type-name-or-full-field-on-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.017 seconds using memcached
Object Caching 339/356 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 21:07:23 -->