iconv function

If I have

function load() {
  document.getElementById('button_my').onclick = function () {
  document.getElementById('my').innerHTML = '' + '';
  document.getElementById('choise_area').setAttribute("class", "choise_area1");
  return false;
  }

and there is a lot of text in quotes, how do I use the iconv function


Answer 1, authority 100%

If you’re building JavaScript with PHP, stupid:

document.getElementById('my').innerHTML = '' <?=iconv(...) ?> '';