html - Changing the css with a click of a button using JavaScript -
i'm trying create website @ click of div css of page alter using function called easterstyle i'm not sure how on javascript not using jquery javascript because dont understand jquery.
not on java javascript.
ok, utilize jquery:
$("#element-to-be-clicked").click(function() { $("#element-to-be-changed").addclass("newstyle"); });
javascript html css
No comments:
Post a Comment