Note that there are some explanatory texts on larger screens.

plurals
  1. PORight-to-left input field - Tag-it jquery UI plugin
    primarykey
    data
    text
    <p>Tag-it is a jquery UI plugin that allows assigning tags from front end, exactly like tags system in stackoverflow. <a href="http://aehlke.github.io/tag-it/" rel="nofollow">http://aehlke.github.io/tag-it/</a></p> <p><a href="https://github.com/aehlke/tag-it/blob/master/README.markdown" rel="nofollow">https://github.com/aehlke/tag-it/blob/master/README.markdown</a></p> <p>In fact, after calling required scripts inside my <code>&lt;head&gt;</code>, I just put in my code source:</p> <pre><code>&lt;ul id="myTags"&gt; &lt;/ul&gt; </code></pre> <p>And call the function like this:</p> <pre><code>&lt;script type="text/javascript"&gt; $(document).ready(function() { $("#myTags").tagit(); }); &lt;/script&gt; </code></pre> <p>After execution, the final code source is (Let's say I have inserted one tag):</p> <pre><code>&lt;ul id="myTags" class="tagit ui-widget ui-widget-content ui-corner-all"&gt; &lt;li class="tagit-choice ui-widget-content ui-state-default ui-corner-all tagit-choice-editable"&gt; &lt;span class="tagit-label"&gt;tag1&lt;/span&gt; &lt;a class="tagit-close"&gt; &lt;span class="text-icon"&gt;×&lt;/span&gt; &lt;span class="ui-icon ui-icon-close"&gt;&lt;/span&gt; &lt;/a&gt; &lt;input dir="rtl" type="hidden" style="display:none;" value="tag1" name="tages[]"&gt; &lt;/li&gt; &lt;li class="tagit-new"&gt; &lt;input dir="rtl" type="text" class="ui-widget-content ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>I have tried to put <code>dir="rtl"</code> in the jquery script of tag-it inside the <code>input</code>, also I tried to put <code>dir="rtl"</code> in <code>&lt;ul&gt;</code>, but to no avail. I am sure that customizing this plugin so that it makes the input from right to left is beyond my area of knowledge, that's why I am asking you usual help, which is always appreciated. </p> <p>How can I make the input field of tag-it work from right to left?</p>
    singulars
    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.
    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