$(document).ready(function() { var htmlStr = $("div#aspect_artifactbrowser_SimpleSearch_div_search div.pagination-masked a:eq(0)").html('PREV'); var htmlStr = $("div#aspect_artifactbrowser_SimpleSearch_div_search div.pagination-masked a:eq(1)").html(''); //$("div#ds-body").hide(); //alert(htmlStr); //var htmlStr = $("div#aspect_artifactbrowser_SimpleSearch_div_search div.pagination-masked a:eq(0)").replaceWith("PREV PAGE"); $("#metadata-wrapper .VideoID").hide(); var kaltura_id = $(".VideoID:eq(0)").html(); //window.location.reload() // alert(htmlStr); // replace video DIV with Kaltura code var htmlStr = $(".file-wrapper").replaceWith("
"); });