mam kod:
jQuery(document).ready(function() { var dialog = jQuery('<div></div>') .html(' <form method="post" action=""> <input type="hidden" name="ip" value="255.255.255.255" /> <input type="text" name="email" maxlength="50" id="s2email" value="" class="input_1" /> <p> <input type="image" src="http://strona/images/img_023.png" name="subscribe" value="Dodaj" class="input_2"/> <input type="image" src="http://strona/images/img_022.png" name="unsubscribe" value="Usuń" class="input_2"/></p> </form> ') .dialog({autoOpen: false, modal: true, zIndex: 10000, title: 'Newsletter'}); jQuery('a.s2popup').click(function(){ dialog.dialog('open'); return false; }); });
niestety w linijce .html(' dostaję błąd:
Kod
Uncaught SyntaxError: Unexpected token ILLEGAL
czy ktoś z Was może się domyślać o co chodzi ?