try to remove this ();
at the end of doc ready:
jQuery(document).ready(function(){
jQuery('.comtrig').on('click',function(){
$(this).next().animate({'display':'inline'},1000);
});
}); //<----remove the (); from here
();
is normally used to have a Immediately-Invoked Function Expression (IIFE) which has some kind of syntax like this:
(function(){
// your stuff here
})(); //<----this invokes the function immediately.
Your errors:
in firefox = TypeError: jQuery(...).ready(...) is not a function
in chrome = Uncaught TypeError: object is not a function
because:
Your document ready handler is not a Self-executing anonymous function.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…