View Full Version : Need help for tiny jquery problem

05-03-2017, 03:37 PM
That I can't fix myself....I am not very good at js, so after trying for hours and hours I am asking for help...
This is (forked) what I need, but as soon as I put exactly this on the page it doesn't work anymore. :(
Downloaded an old jquery1.8.3, but no succes...has anybody an idea what I am doing wrong?

05-03-2017, 05:00 PM
I think you want:

$('.talen a').click(function(event){
$('.talen a').removeClass('aan')

05-03-2017, 05:12 PM
Thank you but computer says no...tried codepen, perfect!
a bug on the site..?

Here is the stubborn testpage (still with very bad google-english), maybe that helps...

05-03-2017, 09:36 PM
its working in google chrome and firefox on your testpage. for me, anyway. chrome even asks if i want to translate the page and shuts down the offer if i choose to push the english button you provided, instead, which then translates it into english / and vice-a-versa, into the other language if i push that button. perhaps you have made a change to your browsing options that is effecting it

05-04-2017, 12:24 AM
You might have a cached version of your JS in your browser. If you are updating your JS or CSS pages try 'CTRL + SHIFT + R' before testing.