I would expect that to break since your "embeded html" is actually XML. It needs to be escaped. If a CDATA block doesn't work, maybe there's something wrong with your CDATA syntax. Alternatively, maybe try replacing the tags with their entity representations:
...<a>View order</a>... Good luck. --Erik On 3/7/07, Paul <[EMAIL PROTECTED]> wrote: > > > > > When I try to pass html to a jQuery function as part of a Taconite <eval> > block, it doesn't work. An example that works: > > > > showMsg($("#customer_name input").val()+ " order "+ response.order_id +" > successfully created."); > > > > A modification that fails: > > > > showMsg($("#customer_name input").val()+ " order "+ response.order_id +" > successfully created. <a>View order</a>"); > > > > I've considered that it might need to be wrapped in a CDATA block, but when > I try that it still breaks. I'd appreciate your ideas… > > > > -Paul > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/