Now, this looks like pretty simple, but I don't know why it is not working. I have a HTML file name g.html which inclues jquery, jquery ui, jquery touch punch nicely. and also includes g.js now, inside g.js use jquery to dynamically modify the class of an element. A new class is added for the element. as is evident from the output HTML code:Now, this looks like pretty simple, but I don't