javascript - Setting colorbox lightbox ajax href variable -


i getting bad request in colorbox when pops up:

is there away feed href using $ variable?

ajaxcall: function ajaxcall(url, data_array, div_id, callback_fn)    {   var d = ajaxcall(url, data_array, "rhs_info", "do_quicklist_actions");              d.done(function(data) {                         $.colorbox({href:"$data"})             });      

try removing quotes $data, like:

$.colorbox({href:$data}); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -