Welcome Guest, Not a member yet? Register   Sign In
Ligtview in codeigniter
#1

[eluser]Unknown[/eluser]
I'm tring open lightview from a controller in codeigniter, but can't get the light veiw to respond to my post.
I have not found much documentation with codigniter and lightview.

// Sends var print data to the controller
$.post(base_url+"reports/statements/session",send_print_data,function(data){

//tring to pass var data to lightview
document.observe("lightview:loaded", function() {
Lightview.show({
href: base_url+'reports/statements/get_reports/', //controller that sends the view
rel: 'ajax',
title: 'Report',
caption: '',
options: {
autosize: true,
topclose: true,
ajax: {
method: 'post',
evalScripts: true,
data: data,
}
});
});
});
});
any suggestions?


#2

[eluser]InsiteFX[/eluser]
Lightview with jQuery




Theme © iAndrew 2016 - Forum software by © MyBB