2
I’m using a code that uses $ jQuery, only when using the cipher it error in the console and the jQuery code ends up not working. The only solution was to use jQuery instead of $ :
jQuery(document).ready(function(){
jQuery("#finalizarcadastrojovem").click(function(){
var form = jQuery("#nome").val();
console.log(form);
return false;
})
})
I wish I knew how to fix it 'cause I want to use it $ and not jQuery
Are you using another framework that uses $ as well? Sometimes because of order and compatibility, the $ ends up being overwritten, for this has the function $.noConflict.
– Wakim