Saturday, January 17, 2015
How to move an element into another element?
$("#NodesToMove").detach().appendTo('#DestinationContainerNode');
note .detach() use. When copy be careful do not duplicate id's.
Friday, January 16, 2015
Create PDF with fixed header and footer in PHP
TCPDF is a FLOSS PHP class for generating PDF documents.
http://www.tcpdf.org/
Started in 2002, TCPDF is now one of the world's most active Open Source projects, used daily by millions of users and included in thousands of CMS and Web applications.
Thursday, January 15, 2015
Combine CSS Attribute Selectors
is there a way to combine CSS2 Attribute Selectors like
tr[id^="foo" AND id$="bar"]
, so it selects all
<tr id="foo_something_bar">
but not
<tr id="foo_something">
or <tr id="something_bar">
tr[id^="foo"][id$="bar"]
Subscribe to:
Posts (Atom)