ajax - Conflict Bootstrap, Prototype Js and Jquery -
after 7 days of search , after have tried different solutions , did not work ask: have page prototype js, protaplasm, , scriptaculous , jquery , jquery-ui , working jquery no conflict until downloaded design bootstrap , here comes trouble. prototype js fonctionalities no more working. ajax update of prototype js , inplaceeditor scriptaculous no more working. have tried work around did not result. have working solution ?
i have found answer. avoid conflict between jquery, prototype js, protoplasm, twitter bootstrap fist added jquery noconlict after jquery
<script type="text/javascript"> $.noconflict(); </script>
and put every jquery code between
jquery( document ).ready(function( $ ) { // code uses jquery's $ can follow here. /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// });
and importantly opened every other js file uses jquery bootstrap.min.js , copied , pasted code inside between
jquery( document ).ready(function( $ ) { // code uses jquery's $ can follow here. /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// });
i still have error typeerror: this.element null controls.js firebug works perfectly
Comments
Post a Comment