Twitter Bootstrap Ajax call error in dialog2.js

Posted by naveen kumar on Stack Overflow See other posts from Stack Overflow or by naveen kumar
Published on 2012-10-24T04:58:19Z Indexed on 2012/10/24 5:00 UTC
Read the original article Hit count: 227

We are using Twitter Bootstrap for my application. I have situation where I have to pull the data from server and show it to popup/model div. We are using dialog2.js for it but it does work. We not want to use .load functionality as we are not using any single url call. We want it to do with “URL” by ajax call and response send back to popup/model content area. We have tried following

$('#proposalInDialog2').click(function(event){
var url="abc.do"
$('<div/>').dialog2({title: "Goals-Based Proposal", content: url});
});

Please help us to to find out this, thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ajax