CSS3 PIE Forums
http://css3pie.com/forum/

Inject javascrip call function when dom is modified
http://css3pie.com/forum/viewtopic.php?f=3&t=1826
Page 1 of 1

Author:  rulernature [ Wed Oct 17, 2012 5:45 am ]
Post subject:  Inject javascrip call function when dom is modified

Hello guys, how can I apply pie.js for some buttons that are expanded in other panel from the same html page. For example I have a page with a table and under table some buttons that are expanding other table and buttons under main table. On $(document).ready(function() pie is applied only for that two buttons from loaded page and when I'm expanding the other panel that contain second table that buttons doesn't have pie.js applied. I need something when dom is modified to inject my js.
Thank's.

Author:  jason [ Wed Oct 17, 2012 9:43 am ]
Post subject:  Re: Inject javascrip call function when dom is modified

You'll have to write manual JavaScript code that queries for the new elements and attaches PIE to them at the time they are created.

Or, you could attempt an approach like this one: viewtopic.php?f=4&t=1823

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/