Forums
View unanswered posts | View active topics It is currently Mon Oct 20, 2014 7:02 am



Reply to topic  [ 2 posts ] 
 Inject javascrip call function when dom is modified 
Author Message

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post 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.


Wed Oct 17, 2012 5:45 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1444
Post 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


Wed Oct 17, 2012 9:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot] and 5 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.