Closed jakejackson1 closed 1 year ago
From querypath created by neyaoz: technosophos/querypath#121
First of all, THANK YOU!
I am adding suffix to title by this way:
$qp->find('title')->html( $qp->find('title')->html() . ' (Suffix)' );
Return is:
<title><title>Example Title</title> (Suffix)</title>
I can use innerHTML() for same job, but in jQuery don't return own tag and they says This method uses the browser's innerHTML property about html() method in API site. I think you should create outerHTML() method for results with own tag.
innerHTML()
This method uses the browser's innerHTML property
html()
outerHTML()
I need to check on this again, but I think the report is right. Should add this to the next QueryPath release.
From querypath created by neyaoz: technosophos/querypath#121
First of all, THANK YOU!
I am adding suffix to title by this way:
Return is:
I can use
innerHTML()
for same job, but in jQuery don't return own tag and they saysThis method uses the browser's innerHTML property
abouthtml()
method in API site. I think you should createouterHTML()
method for results with own tag.