Note that there are some explanatory texts on larger screens.

plurals
  1. POChange or convert only text of radio buttons but not the values in form
    primarykey
    data
    text
    <p>This is my code below:</p> <pre><code>&lt;form name="mainform" id="mainform" class="form_step" action="" method="post" enctype="multipart/form-data"&gt; &lt;ol&gt; &lt;li id="list_cp_ad_type"&gt; &lt;div class="labelwrapper"&gt; &lt;label&gt; &lt;a href="#" tip="Choose your ad type" tabindex="999" title="Choose your ad type"&gt; &lt;div class="helpico"&gt;&lt;/div&gt; &lt;/a&gt;Ad Type: &lt;span class="colour"&gt;*&lt;/span&gt; &lt;/label&gt; &lt;/div&gt; &lt;ol class="radios"&gt; &lt;li&gt;&lt;input value="Offer Ads" type="radio" class="radiolist required" name="cp_ad_type" id="cp_ad_type"&gt;&amp;nbsp;&amp;nbsp;Offer Ads&lt;/li&gt; &lt;li&gt;&lt;input value="Wanted Ads" type="radio" class="radiolist required" name="cp_ad_type" id="cp_ad_type"&gt;&amp;nbsp;&amp;nbsp;Wanted Ads&lt;/li&gt; &lt;/ol&gt; &lt;div class="clr"&gt;&lt;/div&gt; &lt;/li&gt; </code></pre> <p>Expected code:</p> <pre><code>&lt;form name="mainform" id="mainform" class="form_step" action="" method="post" enctype="multipart/form-data"&gt; &lt;ol&gt; &lt;li id="list_cp_ad_type"&gt; &lt;div class="labelwrapper"&gt; &lt;label&gt; &lt;a href="#" tip="Choose your ad type" tabindex="999" title="Choose your ad type"&gt; &lt;div class="helpico"&gt;&lt;/div&gt; &lt;/a&gt;Ad Type: &lt;span class="colour"&gt;*&lt;/span&gt; &lt;/label&gt; &lt;/div&gt; &lt;ol class="radios"&gt; &lt;li&gt;&lt;input value="Offer Ads" type="radio" class="radiolist required" name="cp_ad_type" id="cp_ad_type"&gt;I Offer this&lt;/li&gt; &lt;li&gt;&lt;input value="Wanted Ads" type="radio" class="radiolist required" name="cp_ad_type" id="cp_ad_type"&gt;I Want this&lt;/li&gt; &lt;/ol&gt; &lt;div class="clr"&gt;&lt;/div&gt; &lt;/li&gt; </code></pre> <p>I just want to convert or change only "&nbsp;&nbsp;Offer Ads" text to "I Offer this" text and "&nbsp;&nbsp;Wanted Ads" text to "I Want this" text but not the input values of both id="cp_ad_type" that too with immediate effect on page loading.</p> <p>Anyone plz helpme..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload