jquery ui - Why can't I get the icons when I use jQueryUI with Google Ajax API within Jetpack? -


When I try to use jQueryUI through the Google Ajax API, I showed on any modal dialog box I can not appear icons, but when I click on those places where they have relevant functions (like I can change the size of the modal dialog box and close). Here is my code for problematic screenshots and jetpack:

  function testJQ () {var doc = jetpack.tabs.focused.contentDocument; Var win = jetpack.tabs.focused.contentWindow; $ .get ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js", function (js) {var script = doc.createElement ("script"); script .innerHTML = js; doc.getElementsByTagName ('HEAD') [0] .appendChild (script); $ .get ("http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui .min.js ", function (js) {var script = doc.createElement (" script "); script.http: builderHTML = js; doc.getElementsByTagName ('HEAD') [0] .appendChild (script); $ .get ("Http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-lightness/jquery-ui.css", function (js) {var style = doc.create element ("style "); Style Manufacturer HTML = JS; Doc.Gate L Mentusbaytabname ('head') [0] .Appended (style); script = doc.secuit element ("script"); script.pilerHTML = 'var MyDialogfunk = function () {' script.HTML + = '$ ( "

On the other hand, in a simple HTML document, I can load the Google Ajax API, jquery and jQueryUI loads and get the mark without any problems. Here's a screenshot and source code Which I hope works for:

   gt; Top & gt; & gt; script src = "http: //www.goo Gle.com/jsapi "> 



  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -