SELECT '<tr><td><a href="javascript:apex.event.trigger(document, ''''editXtra''''}]);void(0);"></a></td></tr>'
from dual;
Output is: <tr><td><a href="javascript:apex.event.trigger(document, ''editXtra''}]);void(0);"></a></td></tr>
I pass this to the client via dynamic Action (AJAX) but jQuery doesn't like the 2 single-quotes and gives a "Uncaught SyntaxError: missing ) after argument list" error.$('[summary="SITE"] tr:last').after('<tr><td><a href="javascript:apex.event.trigger(document, ''editXtra''}]);void(0);"></a></td></tr>');
Uncaught SyntaxError: missing ) after argument list$('[summary="SITE"] tr:last').after('<tr><td><a href="javascript:apex.event.trigger(document, \'editXtra\'}]);void(0);"></a></td></tr>');
SELECT '<tr><td><a href="javascript:apex.event.trigger(document, \'editXtra\'}]);void(0);"></a></td></tr>'
from dual;
ORA-00911: invalid characterNetwork and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.