I have a javascript popUp function...
popUp(title, body){
$('body').append('<div id="popupWindow"><div class="close"></div>
<h2 class="title">'+title+'</h2>
<div class="body">'+body+'</div>
</div>");
// then on $('.close').click(func(){ remove() etc... } );
// and keyCode == 13 remove();
}
that inserts the two arguments into popup window that is then inserted into the html of the document. I had the idea of having a <form> as body but it craps out??
I have tried various things and it would appear to be the html as the argument which is causing the problem. I have limited javascript/jQuery experience, so any help you guys/gals can give would be much appreciated.
Thanks, Si
It's not a complete copy - However your right, there was a stray quote i hadnt escaped in the form thanks guys (hour well spent for a typo...)