Can't get checkbox id when using event on click run javascript alert(this.id);
Posted: Fri Sep 11, 2015 6:23 pm
So when I use alert(this.id); the checkbox is the only component I can't get an id from I just get a blank value.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
So when I use alert(this.id); the checkbox is the only component I can't get an id from I just get a blank value.
Hello Sebastian,
Please use: prealert($(this).find("input").attr("id"));/pre instead of prealert(this.id);/pre
It worked thanks!