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/

Reply via email to