hi to all
I know that combining two framework prototype and jquery is not a good idea. But I already a lot of code made by prototype, But when I discovered jquery I decided to use this because there is some methods and functions advances than prototype.
My question is I was using jquery autogrow but it was not work if I am using prototype at the same time. Even I was followed the jquery instructions regarding "using jquery with other libraries"
any help would greatly appreciated
in the head
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.autogrow.js"></script>
<script>
jQuery.noConflict()
jQuery(document).ready (function() {
jQuery('#expanding').autogrow({
maxHeight: 100,
minHeight: 30,
lineHeight: 16
});
});
</script>
in the body
<body>
<textarea name="" cols="50" rows="" id="expanding"></textarea>
</body>