Add class to body
Posted: Thu Jul 04, 2013 3:59 pm
Hello.
I want to try jQuery Fastbutton, but I need to add a class to the body:
code<body class='use-fastclick'>/code
How can I do it?
Thanks.
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/
Hello.
I want to try jQuery Fastbutton, but I need to add a class to the body:
code<body class='use-fastclick'>/code
How can I do it?
Thanks.
Hi Andrés,
Run the following code on Page Load event:
code$( "body" ).addClass( "use-fastclick" );/code