Can somebody tell what is the difference between jquery .html() function and innerHTML?
Setting the innerHTML property does not execute scripts.
innerHTML
jQuery contains special code to execute scripts for you.