I wanted a more elegant way of writing the code below. It is passing the parameters via GET but it goes with \ 'and I can even use a PHP function of replace but wanted a solution without gambiarra. I have the following code:
onClick=\"window.parent.document.getElementById('webcam_show').src='webcam_html5/index.php?text_area=\'ta_proprietario_altera_foto64\'&frame_destino=\'frame_proprietario_foto_altera\'';window.parent.div_mostra('webcam')\"