jquery-plugins

Data table integrated with Angular not showing export buttons such as Excel, PDF

我与影子孤独终老i 提交于 2019-12-24 17:15:56
问题 "styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "../node_modules/datatables.net-dt/css/jquery.dataTables.css", "../node_modules/datatables.net-buttons-dt/css/buttons.dataTables.css", "styles.css" ], "scripts": [ "../node_modules/jquery/dist/jquery.min.js", "../node_modules/popper.js/dist/umd/popper.min.js", "../node_modules/bootstrap/dist/js/bootstrap.min.js", "../node_modules/jquery/dist/jquery.js", "../node_modules/datatables.net/js/jquery.dataTables.js", "../node

jquery ui: ajax page + slider content

此生再无相见时 提交于 2019-12-24 16:29:50
问题 I want to make a content slider similar to this site, but a bit simpler. This is what I came out with so far. But I am stuck: 1. I want to change the position of the slider handle when an ajax page is loaded. the width of #content-holder should be extended when the ajax page is loaded, from 1500px to 2000px (depends on how big the ajax page is). 2. the #content-holder should slide to the left when the ajax page is load so that this ajax page will always visible when it is loaded. 3. when the

jQuery Quick Flip switch back

这一生的挚爱 提交于 2019-12-24 15:02:16
问题 I'm using the jQuery plugin Quick Flip, but I'm having two issues with one of my pages. First, I want it to flip when the mouse hovers, which I've been able to do, but I'd also like it to go back to it's original state when you're not hovering. On the jQuery's forum, others are asking the same question, and the creator says it's possible, but won't provide the code for it. I've tried different methods, even playing with a setTimeout to force it back, but I keep breaking the code each time so

Jquery plugin using second instance's options

不打扰是莪最后的温柔 提交于 2019-12-24 14:40:59
问题 I have written a Jquery Pagination plugin that works great with just one instance of the plugin. When I try to use two instances, the first instance ignores its given options and uses the second instance's options. I know this because the two sections both start out with the defined items per page, but when you navigate to another 'page' in the pagination, it reverts to the second instance's itemsPerPage - 2 . My guess is the second time this plugin is called, it is overwriting $.pagination

Jquery Object doesn't support this property or method

十年热恋 提交于 2019-12-24 14:00:39
问题 I have the following in my JSP page and I am getting error Message: Object doesn't support this property or method at $("#projects").dataTable({ If I remove .makeEditable({ sAddURL: "addController" }); then there are no js errors, how can I resolve this issue? JS Code $(document).ready(function () { $("#projects").dataTable({ // error here "bServerSide": true, "sAjaxSource": "mycontroller", "bProcessing": true, "sPaginationType": "full_numbers", "bJQueryUI": true }).makeEditable({ sAddURL:

Datatables TableTools - Not able to find the path for sSwfPath

孤街浪徒 提交于 2019-12-24 12:39:27
问题 I am using codeigniter framework to build my web application. I need to export my table from datatables to csv and excel. But I am getting an error while loading the sSwfPath in the datatables TableTools : I have included the following libraries : <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="http://localhost/codegen/assets/js/jquery.dataTables.js" type="text/javascript"></script> <script src="http://localhost/codegen/js/jquery.dataTables

jquery ui resizable returning the size

橙三吉。 提交于 2019-12-24 10:55:15
问题 Hay im new to jquery and i'm trying to use resizable. I can get it to work fine but cant seem to work out how to return the new size. I would like to set the new size's to a php variables to be save in a DB. I am new to javascript and jquery so any help would be a big help. 回答1: The resizable plugin itself does not provide a method to get the sizes. I assume they did not implement this because it would just be redundancy methods on the same node, as there are already methods in jQuery core

Textbox gets back focus upon timepicker close

你离开我真会死。 提交于 2019-12-24 10:38:13
问题 I'm using the timepicker plugin for jquery. Once users selected a date+time and click on the "Done" button, which basically just closes the dialog, I want the textbox where datetime is set to gain back focus (the current behavior of the plugin is to blur out focus). This is because on this page I have a set of textboxes and their tab orders are set sequentially. I need the datetime textbox to gain back focus to continue the tab order. otherwise the tab order will restart from the first text

How to return $(this)

限于喜欢 提交于 2019-12-24 10:34:40
问题 I'm using jQuery and made a plugin for some in house work that basically builds URLs for our internal API. Anyways, I want to return $(this) and im not getting the right thing and im getting a createdocumentfragment error? Plugin code: $.get(base_url,{ agenda_id:defaults.id, action:defaults.action+defaults.type, output:defaults.output },function(html){ defaults.callback(html); }); That works fine, but i want to add return obj like so: $.get(base_url,{ agenda_id:defaults.id, action:defaults

Fancybox 2 iframe not working correctly in IE

青春壹個敷衍的年華 提交于 2019-12-24 10:22:51
问题 I'm having an issue with Fancybox 2.0 and Internet Explorer. It works fine on all other browsers. In IE is like the lightbox div comes on top of the iframe and I can't click any buttons. Also the position in the page is different than on other browsers. This are the parameters I'm using to call it $('.fancybutton').fancybox({ type : 'iframe', maxWidth : 800, maxHeight : 600, fitToView : true, width : '70%', height : '80%', autoSize : false, closeClick : false, openEffect : 'none', closeEffect