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.

Wed Oct 17, 2012 5:45 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1452

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.

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum