How to use jQuery qTip?

I believe the problem stems from incompatibility between the new qTip versions and jQuery. I’ve spent the last hour testing code with qTip to try and find out why my code refused to work and after looking through the forums to see if I could find similar problems I’ve noticed that the following code within … Read more

jQuery UI Dialog validation without using tags

In case someone else comes across this, the jQuery-UI dialog does not append to the form, it appends just before </body>, so the elements to validate are outside the <form></form> section: To resolve this, just direct the dialog to move itself inside the form when you create it, like this: $(“#mydiv”).dialog(“open”).parent().appendTo(jQuery(“form:first”));

How do you change the style of cell in a JQuery.DataTable?

Cool, I am happy to report that I was able to answer my own question! I just defined a CSS style (alignRight), and added the style to the column like so: <style media=”all” type=”text/css”> .alignRight { text-align: right; } </style> oTable = $(‘#example’).dataTable( { “aoColumns” : [ { sWidth: ‘40%’ }, { sWidth: ‘60%’, sClass: … Read more

jQuery non-AJAX POST

Tidied Darin’s excellent solution slightly. function myFunction(action, method, input) { ‘use strict’; var form; form = $(‘<form />’, { action: action, method: method, style: ‘display: none;’ }); if (typeof input !== ‘undefined’ && input !== null) { $.each(input, function (name, value) { $(‘<input />’, { type: ‘hidden’, name: name, value: value }).appendTo(form); }); } form.appendTo(‘body’).submit(); … Read more

jqGrid horizontal scrollbar

i adjusted ui.grid.css because i did not need a horizontal scrollbar at all. i did this: .ui-jqgrid .ui-jqgrid-bdiv { position: relative; margin: 0em; padding:0; /*overflow: auto;*/ overflow-x:hidden; overflow-y:auto; text-align:left; } the commented was how it was, i just used overflow-x to hide the horizontal scrollbar and now all is fine with me.