javascript - jQuery UI widget autocomplete issue with fixed div parent -


i'm tryng use https://github.com/aehlke/tag-it script, no problems, can add,remove tags , autocomplete function work good. source:

<script type="text/javascript">     $(document).ready(function() {         $("#addtags").tagit({             fieldname: "task_tags",             availabletags: ["c++", "java", "php", "javascript", "ruby", "python", "c"],             allowspaces: true         });         //$("#addtags").tagit();     }); </script>  <div class="panel">   <div class="form-group">     <ul id="addtags">       <li>tag1</li>     </ul>   </div> </div> 

the problem start when add css:

<style>   .panel {    position: fixed;    top: 30px;    left: 90px;   } </style> 

the div not receive right information on position , remains fixed @ top left.

i solved, problem in css set fixed position body , block window positions jquery ui.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -