title: html code inserted javascript error
body: <p>I have created a javascript function, and I've put in the html code javascipt, but when I make a branching using if else there is an error with the statement "SyntaxError: missing) after argument list" on the sidelines "if" is. following my javascript code.</p>
  
  <pre><code>function tabelListPegawai(data){
      return baris = $('&lt;tr&gt;\
              &lt;td&gt;'+data.nik+'&lt;/td&gt;\
              &lt;td&gt;'+data.nama_pegawai+'&lt;/td&gt;\
              &lt;td&gt;'+data.nama+'&lt;/td&gt;\
              &lt;td&gt;'+data.nama_jabatan+'&lt;/td&gt;\
              &lt;td&gt;'if(data.status == 1){'Karyawan Tetap'}else if(data.status == 2){'Karyawan Tidak Tetap'}'&lt;/td&gt;\
              &lt;td style="text-align: center;"&gt;\
              &lt;a class="btn btn-small aksi_atas" rel="tooltip" title="Ubah" onclick="editPegawai('+data.id_pegawai+')"&gt;&lt;i class="icon-edit"&gt;&lt;/i&gt;&lt;/a&gt;\
              &lt;a class="btn btn-small aksi_atas" rel="tooltip" title="Hapus" onclick="hapusPegawai('+data.id_pegawai+', '+data.nik+')"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt;&lt;/a&gt;\
              &lt;/td&gt;\
      &lt;/tr&gt;'); 
  }
  </code></pre>
  
  <p>Can you help me. thank you</p>