Problem with profile fields in buddypress. Javascript only working in Chrome
-
Hi everybody,
I am having a problem with the profile fields in buddypress. After searching through the forum I found out that this line of js:
<script> jQuery(document).ready(function($){ $('#field_156').attr('minlength', '9'); $('#field_156').attr('maxlength', '14'); }); </script>
was needed to give a maxlength of characters to a profile field (I included the minlength myself). I added this line of code underneath at the footer.php just above the </body>. And this is working excellent in Chrome! However this isn’t working on either Firefox or the new Edge browser from Microsoft. I am kinda stuck at this point. Wondering if any of you guys can help me 🙂
Sorry for my bad english if thats the case!
Kind Regards,
Youngtive
- The topic ‘Problem with profile fields in buddypress. Javascript only working in Chrome’ is closed to new replies.