Jump to content
techker

wysiwyg textarea

Recommended Posts

Hey guys,i noticed that when i try to add more then one ID:wysiwyg on my  textarea it only works on one..

 

is there a way to have lets say 3 wysiwyg textarea??

 

do i need to add a class wysiwyg2  wysiwyg3....

Share this post


Link to post
Share on other sites

ID's are unique, you can't use them on multiple elements on the same page.

 

Classes can be reused though, so just give each textarea a "wysiwyg" class and use that for the selector.

 

You haven't mentioned what you're using for a WSYIWYG, so that's about as much detail as I can give.

Share this post


Link to post
Share on other sites

the textare is for a dealership script im doing for my body..just to add cars..

 

see,so i would change the class for WSYIWYG?but then the others?

<code>

 <label>SHORT DESCRITION</label>
               <textarea name="Description_short"  cols="55" rows="4" class="text-input textarea" ></textarea>
            
         <label>SHORT  FR</label>
  <textarea name="Description_short_FR"  cols="55" rows="4" class="text-input textarea" ></textarea>
           
        <label>FULL DESCRIPTION</label>
            <textarea name="Description_long"  cols="55" rows="6" class="text-input textarea" ></textarea>
<label>FULL DESCRIPTION FR</label>
  <textarea name="Description_long_FR"  cols="55" rows="6" class="text-input textarea" ></textarea>
 
</code>

Share this post


Link to post
Share on other sites

We need to know what javascript wysiwyg editor you are using on these textareas, and also the js code you are using.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.