before using prototype or such frameworks (too big!) are there any other "small" libs with common functions (extending String, Array ... ) like escapeHTML() etc.

if i would have to use prototype:

i tried this simple thing:


<script type="text/javascript" src="prototype/prototype-1.5.1.1.js"></script>
<script type="text/javascript" src="jquery-1.1.2.js"></script>
<script type="text/javascript">
/**/
$j = jQuery.noConflict();
$j(document).ready(function(){
        console.info (String("foo").escapeHTML());
/* throws error: there's no such function !*/
});

</script>

what am i doing wrong ?

micha

Reply via email to