For the same reason you can't replace the fan on an engine while it's running?
Use $.getScript() On Jan 16, 1:42 pm, cc96ai <calvin.chan....@gmail.com> wrote: > we can get the .html() in script/noscript > but once we want to write it back, we got error > e.g. > $("script").html("var a=123"); > > "Unexecpeted call to method or property access"