Hi, thanks for taking the time to read my post.
As mentioned in the subject, my problem is that i am trying to enter URLs with onClick events into an array.
Here is the relevant part of the code, document.FrontCP.font is a hidden form field:
linkset='<div><a href="#" onclick="document.FrontCP.font.value='arial'">arial</a></div>'
linkset+='<div><a href="#" onclick="document.FrontCP.font.value='verdana'">verdana</a></div>'
The problem is that with the field's value needing surrounding apostrophes, only the first part of the string, "<div><a href="#" onclick="document.FrontCP.font.value=" goes into the array. I have no idea where to go from here, so any help would be appreciated.