View unanswered posts | View active topics It is currently Tue Oct 21, 2014 3:35 pm

Reply to topic  [ 2 posts ] 
 Apply pie after ajax call 
Author Message

Joined: Wed Aug 17, 2011 9:20 am
Posts: 6
Post Apply pie after ajax call
Hello guys, I'm trying to apply pie js for some element added after ajax call, my function looks like :

window.document.ready = function()
function pieStarter() {
try {
if (window.PIE) {
$(' #currentPageTitle, ul#main li, .close')
.each(function() {
} catch (e) {
alert("PIE failed:"+e);

but every time I recive this error:
error: object doesn't support this property or method

What is wrong ?

Fri Nov 02, 2012 2:16 am

Joined: Tue Nov 29, 2011 1:26 am
Posts: 38
Post Re: Apply pie after ajax call
This is the fix if anybody has this problem :

window.document.ready = function(){
Wicket.Ajax.registerPostCallHandler(pieStarter); // every time when an ajax request is made
function pieStarter(){
if (window.PIE) {
function go(){


Fri Nov 09, 2012 3:29 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot], Google [Bot], Yahoo [Bot] and 3 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.