Sortable + nested lists with jQuery UI 1.8.2

This question is all over SO, but no one seems to have had the same problem as I have. When I do something like this $(function(){ $('#unique-ul').sortable({items:'li'}); }); I'd expect it...

jQuery validate only validates one field

I am using jQuery validate to validate a form. I have two text boxes on my form and only the first one will add the "This field is required." message. If I remove the "required" class from the...

The 'packages' element is not declared

When using asp.net mvc 3 project with vs 2010 I have lots of warnings like the ones below: I wonder if I did something wrong and I need to change something, because this is the out of the box...

Dynamically create and submit form

Is there a way in jQuery to create and submit a form on the fly. Something like below. <html> <head> <title> Title Text Goes Here </title> <script...

jquery-ui datepicker with jquery .on() event

i'm using asual jquery-address, tabs example and want to add datepicker to the "Extra" tab. If i'm just adding $(document).ready(function() { $( "#datepicker" ).datepicker(); }); it wont work....

Handle mouseenter/mouseleave on a div and nested elements with jQuery

I want to display a toolbar if the mouse is over a div or any of the div's nested elements. But the following solution with jQuery 1.7 only works if the mouse is over the div directly what is only...

clickable menubarItem for top level node on new jqueryui menubar?

I'm investigating the new jqueryui menubar. The menubar seems to work well, but sometimes you have a menu item that doesn't have children. I modified the above default demo to have a top level...

Safari won't update rendering of SELECT when changing OPTION selected via jQuery

Using jQuery, I'm trying to change the selected option in a SELECT element to match another input value: $('#mySelect') .find('option') .filter(function() { return...

Remove Malware from Website

My website, 3dsforums.com, has been marked as an attack site for containing malware. According to Google Webmaster Tools, this is the suspected code that has been injected onto every...

Is it possible to use jQuery .on and hover?

I have a <ul> that is populated with javascript after the initial page load. I'm currently using .bind with mouseover and mouseout. The project just updated to jQuery 1.7 so I have the option to...

jQuery livequery plug equivalent in jQuery 1.7+

Is there the equivalent of the jQuery livequery plugin for jQuery 1.7+ ? Im trying to dynamically bind events, reading the events a DOM element should bind on based on data-* elements. <a href="#"...

Sticky CSS Footer

Can someone help me make the original code from HTML5 Boilerplate Initializser, have the footer stick to the bottom of the browser, I've tried all manor of codes from web examples but...

Uncaught TypeError: Cannot read property 'Constructor' of undefined

I am getting this and a couple other weird error messages on my main ASP MVC 3 layout page. I am using the following scripts <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")"...

Add a minute to hh:mm with JavaScript

I'm a PHP programmer who seldom uses Javascript, so I need help figuring out how to accomplish this with JS or JQuery (I currently have jquery-1.7.min.js). I've created three clocks showing the...

Bundler::GemNotFound: Could not find rake-10.3.2 in any of the sources

I have been working with Rails and it sends me back this error. Please provide questions. Thanks for all the help. I will update this question with a better one because I don't know how to ask...

Grails new project cant resolve dependencies

On Windows installed newest version of grails 2.4.2(java 1.7), created a new project. When run app it fails to resolve dependencies. I'm not behind proxy. Below the stacktrace: Error | Resolve...

Gemfile.lock contains merge conflicts

I just ran git push origin master and got this error after trying to run rails s: Your Gemfile.lock contains merge conflicts. Run `git checkout HEAD -- Gemfile.lock` first to get a clean...

Jasper Plugin 1.11.0

I'm trying to use the Jasper Plugin with the version 1.11.0 with the following Build.config: grails.servlet.version = "3.0" grails.project.class.dir =...

Uncaught Error: Assertion Failed: Ember Views require jQuery between 1.7 and 2.1

I am new to ember and using the following, Ember: v1.13.3 jquery: v1.12.3 But I am getting the following error Uncaught Error: Assertion Failed: Ember Views require jQuery between 1.7 and 2.1 I...

Can I use jQuery UI 1.12.1 with jQuery 3.x?

I changed my jQuery 1.7.2 to 3.1.1 and changed my jQuery UI from version 1.8.16 to version 1.12.1. Quite a few of my existing JS stuff broke, like styling of buttons, and dialog behaves in...

Getting Error "Form submission canceled because the form is not connected"

I have an old website with JQuery 1.7 which works correctly till two days ago. Suddenly some of my buttons do not work anymore and, after clicking on them, I get this warning in the console: Form...

Google Apps Script libraries are not working on a webapp

I'm a newbie in web development in Google Apps Script and I'm having a hard time trying to run a simple webapp which is supposed to set up a menu example by using SlickNav jQuery Plugin. I...

Wordpress Plugin Error - jQuery is not defined

I'm using a WP plugin which enqueues a js file. Today I saw a the following error in the console jquery is not defined... After deactivating the plugin and activating it again the error is gone....

In laravel npm run dev errors:

I have next errors output running npm command for my laravel 5.6 with bootstrap project: $ npm run dev > @ dev /mnt/_work_sdb8/wwwroot/lar/B4test > npm run development > @ development...

Rails error installing mysql2 (mysql2-0.3.20)

I am trying to get a rails project up and running on my local machine. When I do bundle install Fetching mysql2 0.3.20 Installing mysql2 0.3.20 with native extensions Gem::Ext::BuildError: ERROR:...

d3.scale.category20() gives Uncaught TypeError: Cannot read property 'category20' of undefined

I'm trying to embed D3 bar charts into my site, shown here: From this recipe: http://bl.ocks.org/erikvullings/51cc5332439939f1f292 But the dynamic cherrypy sever gives me an error. If I take the...

Rails bundle can't install gem ffi

Note: I gave up on this and decided to try Rails 6 and Webpacker rather than fighting this fight. Moving on to other fights. An error occurred while installing ffi (1.13.1), and Bundler cannot...

jQuery PrintThis in ASP.net Core color not visible

I have an issue with the jQuery PrintThis plugin in ASP.net Core. I create a html string with formats with summernote, for example a table with yellow font color. If I print this with jQuery...

Slick slider group navigation items with slides using data attributes

I am using Slick Slider JS to build out a history timeline. Each date range navigation item is connected to multiple slides using a data-group attribute. I am needing to adapt my code to...

Responsive menu in JavaScript

I have an issue with js. I want to make an responsive menu. I mean when I am on start page the start page is on first place on the list. If I am on contact page the contact is first in the list....