jquery-ui-dialog

“oCol is Undefined” Using Datatables and jQuery Ui Dialog

穿精又带淫゛_ 提交于 2019-12-23 06:57:25
问题 I have a form, for search a registry. This form, shows the info in a jQuery Dialog , and, inside of the dialog, i am using Datatables (Yes, inside of the dialog i have an entire table). I am generating the TR's and TD's dynamically with PHP, and then, PHP paste the string in the HTML. But, when the dialog is shown i get this error: oCol is undefined: oCol.fnSetData( oData, val ); I'm trying it in Firefox and Chrome and it's the same thing. Also i've searched in http://www.datatables.net, and

jQuery Dialog Pop outs - positioning issue when scrolling down the page

我的未来我决定 提交于 2019-12-23 05:49:12
问题 After getting a good start here: New google calendar, "pop-out" events, if they don't fit in the defined area , I now have some further questions and issues to hammer out. Here is the jQuery Code: // Google-Calendar-Style pop-outs $(function() { $(".inner").each(function() { var inner = $(this); var popout = inner.clone().removeClass("inner"); popout.dialog({ autoOpen: false, draggable: false, resizable: false, width: 150 }); var plusMore = $("<div><a href='#' onmouseover='this.style.cursor=\

Why does jquery ui dialog mangle my jquery.tokeninput.js autocomplete?

淺唱寂寞╮ 提交于 2019-12-23 04:52:33
问题 I am using the snazzy jquery tokeninput plugin and jquery ui. When I display a form with a token input in it, rather than displaying the token input correctly, it loses some styling and splits into two input boxes. I've made a repro page (linked below) which mangles it. Why is it doing it, and what can i do to fix it? example repo html doc here: http://dl.dropbox.com/u/2808109/jquery%20dialog%20tokeninput%20demo.htm edit: have found the answer 回答1: It looks like dialog re-runs the script tags

How to display pop-up content on top of an applet

倖福魔咒の 提交于 2019-12-23 03:58:19
问题 My website uses old-school Java applets for a key piece of content. As the site matures we are adding extra content around this applet, which includes hover content and jQuery UI dialog boxes. The problem is that these hover content and dialog boxes appear beneath the applet and their content is obscured. I have tried the common ways to solve the problem, such as z-index and wmode=transparent but these do not work. I have also seen answers to this question that say it is just not possible,

Can I make jquery dialog position independent of window size?

为君一笑 提交于 2019-12-22 12:09:26
问题 I'm using the position attribute to fix a dialog in a certain position. $('#red').dialog({autoOpen: false, resizable: false, draggable: false, height: 600, width:550, position: [10, 150]}); I find that if the browser window is too small, the dialog doesn't pop up at (10, 150), but higher. Is there a way to make sure it pops up at an absolute position regardless of the window size? 回答1: Looks like the dialog widget is trying to keep the dialog visible and overriding your position setting in

add custom method to jquery ui dialog

倾然丶 夕夏残阳落幕 提交于 2019-12-22 09:38:49
问题 How can I do something like: $("#some_div").dialog("doSomething"); And what that method should do is to add an extra icon in the titlebar EDIT 1 : I've tried this solution: the method gets called but I can't access the dialog object (maybe I'm doing something wrong) 回答1: First, if you're adding an icon to the title bar I would suggest applying a class to that dialog box and styling it with CSS. Example: $( "#some_div" ).dialog({ dialogClass: "someClass" }); If you'd still like to add a custom

JQuery UI Dialog: Password inputs causing freezing

限于喜欢 提交于 2019-12-22 09:30:50
问题 This is a odd behavior that seems to only happen in Chrome and with JQuery UI. When entering characters into a password field at first everything functions correctly. However, if you attempt to backspace to the last letter in the input, the browser locks up all client side operations. Also, if you try and highlight the characters entered and backspace the client side operations freeze. Just reaching out to see if anyone has encountered this same issue, and how they resolved it. In order to

jQuery UI dialog + Ajax fails with IE 6-7-8

梦想与她 提交于 2019-12-22 08:03:25
问题 i have problem with jQuery-ui Dialog when using ajax $.ajax({ url: "folders.php", cache: false, data: { 'do' : 'Ajax' ,'_a' : 'ChangeMoviesFolder' ,'MovieIDS' : MovieIDS ,'toFolderID' : toFolderID ,'fromFolderID' : fromFolderID }, context: document.body, open: function(event, ui) { alert('open'); }, error : function(XMLHttpRequest, textStatus, errorThrown){ // Handle the beforeSend event // alert("responseText: "+errorThrown.message); }, success: function(data){ $('input.checkMovie').attr(

How to localise buttons on JQueryUI modal dialog

风格不统一 提交于 2019-12-22 05:23:14
问题 I have a JQueryUI modal dialog and everything is working fine except for one issue ... how do I localize the OK and Cancel buttons? I have gone through the demos and documentation and unless I am missing something very obvious, can't figure out how to do this ... My code: $("#MyDialog").dialog({ . . . buttons: { OK: function () { . . . }, Cancel: function () { . . . } } }); This displays a dialog with two buttons, "OK" and "Cancel". How do I get the buttons to read, for example, "Si" and

Window scrolling up when jquery dialog opens up

风格不统一 提交于 2019-12-22 01:26:26
问题 I am trying to open a modal jquery dialog using jquery 1.4 and jquery-ui-1.8rc3.custom.js The dialog opens up with no issues, in all browsers, but in IE 7 and 6, after the dialog opens up, the window scrolls itself to the buttom... I tried scrolling the window up back to the modal position but is very inconsistent. was using the following line of code after opening up the modal window.scrollTo($('#selector').dialog('option', 'position')[0],$('#selector').dialog('option', 'position')[1]); One