Jquery script stopped working in version 1.11.0

Posted Jan 01, 1970 12:00 AM

what's wrong with this code. It works in previous versions of Jquery but stopped to work in version 1.11.0. This script checks username availability and prints result in div #status.

The script works only partly. It sends request to check-username.php and shows loading.gif and text "please wait" but never prints the result from check-username.php file. It stucks at "Please wait" forever.

Javascript console doesn't show any error messages.

<script type="text/javascript">
pic1 = new Image(16, 11);
pic1.src = "/loading.gif";
$(document).ready(function () {
    $("#nn").change(function () {
        var usr = $("#nn").val();
        var paro = $("#par").val();

        $("#status").html('<img src="/loading.gif" align="absmiddle">Please wait');
            cache: false,
            type: "POST",
            url: "/check-username.php",
            data: "nn=" + usr + "&prr=" + paro,
            success: function (msg) {
                $("#status").ajaxComplete(function (event, request, settings) {
Tagged jquery code

Similar Topic Questions

JQuery version 1.11.0 upload broken

I have a web application that was running jQuery 1.9.1 without problems. My upload code looks like this: <form method="post" id="itembank-upload-form" action="@Url.Action("UploadAssessment")" style="display: none"> <input id="itembank-uploader" name="assessmentFile" type="file"/> </form> This is no longer working in the new version (1.11.0) of jQuery...

Posted Jan 30, 2014 2:59 AM

JQuery script not working in Firefox

My code is working decently (though slow) in Chrome, but failing in Firefox. Currently the script toggles a class on a list item's hover/click, revealing a div, and a second toggle adds a blur class to the rest of the...

Posted Apr 30, 2014 2:03 AM

JQuery: Script is working in console but not in attached file

I'm working on a custom Wordpress site that has a lot of javascript (all developed by another developer) I'm trying to add a script to the bottom of the scripts.js file and it's not working everywhere. It works in the console....

Posted Sep 05, 2014 7:06 AM

Iframe not working in AngularJS 1.3.0

I'm new to web dev. I'm using AngularJS 1.3.0. When I try using {{ things[0].embed }} to insert the embedded source video link from my database, nothing is displayed, but hardcoding the link, for example "//www.youtube.com/embed/wZZ7oFKsKzY", works. Is there something...

Posted May 30, 2014 4:01 AM

Flex-grow not working in internet explorer 11 !!0

Hy I'm having some trouble with flex in IE: http://jsfiddle.net/EvvBH/ Notice that the #two element has flex: auto, which is supposed to expand it to fill the container, even if there's not enough content. But it does that only in Chrome and Firefox. In...

Posted Jun 24, 2014 9:01 AM

Header variable is not working in xampp 1.8.0

I want to pass key and values in header using cUrl. here is the cUrl call which i am executing from xampp console. curl -i -H "Accept: application/json" -H "X_AUTH_USERNAME: admin@user" -H "X_AUTH_PASSWORD: admin@Access"\http://localhost/project/index.php In my index.php when i print $_SERVER, i...

Posted Jun 25, 2014 5:05 AM

Jquery is not working in mozilla firefox 31.0

I have a sample fiddle here where the html table columns are sorted using jquery as, var arr = $('th').sort(function(a, b) { return new Date(a.innerHTML) > new Date(b.innerHTML); }).map(function(){ return this.cellIndex }).get(); $('tr').each(function() { $(this).children().sort(function(a, b) { ...

Posted Jul 28, 2014 7:39 AM

EAccelerator not working in xampp 1.8.0

From error log: eAccelerator requires Zend Engine API version 220090626. The Zend Engine API version 220100525 which is installed, is newer. Contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator. from phpinfo() System Windows NT 6.1...

Posted Mar 03, 2014 8:23 AM

JQuery fadeIn not working in Firefox Mozilla 33.0.2

I have very strange problem. I have a line of code which is working okey in Chrome, Opera and IE. Here is the whole Javascript: <script type="text/javascript"> $.noConflict(); jQuery(document).ready(function($){ ...

Posted Nov 03, 2014 2:06 AM

Toggle expand not working in jquery 1.11.0

I have a piece of code with toggle buttons to expand an area. It works up to jquery 1.8.3 and starts breaking when I use a newer version of jquery (My target is 1.11.0, to work with Bootstrap 3.)...

Posted Mar 13, 2014 3:00 AM

Word Counter plugin in textarea WordPress solution not working in jquery 1.11.0

I've set up my form with the code from this thread: Counting and limiting words in a textarea However the fiddle code was written with jQuery 1.8.3 and it is working fine with that however, my wordpress site is using jquery...

Posted Jul 06, 2014 9:16 AM

JQuery Webcam Script Not Working in IE

I am using http://www.xarg.org/project/jquery-webcam-plugin/ script for my website to capture profile photo.. but that scripts works well in all browsers except IE 8 and above. Bug : when i click capture photo in IE the photo is not getting captured Please help...

Posted Feb 28, 2014 3:53 AM

Jquery code not working in IE 11

PHASE 1: I'm working on a Chat program written in Java using JSP and Servlet. The Servlet and accompanying classes are on the server side, while the JSP page handles the client side user interface. Initially I was...

Posted Mar 17, 2014 5:38 AM

JQuery code not working in IE11 in windows 8.1 [on hold]

I am using the below code to populate a field with selected text of a menu item. $('.menuSort li').on('click', function () { var selectedValue = $(this).text(); $(".textSearch").text(selectedValue); }); This works fine in Internet Explorer 11 in...

Posted Apr 25, 2014 7:05 AM

Rotating content in JQuery 1.11.0 - all DIVs appear on refresh

I've set up a sample page to make this rotator script work: http://twohatsconsulting.com/rotator/ The only problem is that when the page refreshes, all three DIVs appear before fading into the first DIV as it is intended. My HTML code: <div class="parent"> ...

Posted May 02, 2014 6:44 AM

JQuery validation not working in IE 11

I am trying to validate a form using jquery validate with PHP. I have done all this using google......I am new to the web development.The form is working absolutely fine in FF but the script is not wotking in IE...

Posted May 05, 2014 1:06 AM

How to make this 'read more' script works with jQuery 1.11.0

I'm looking for a simple 'read more' jQuery script. I found this one published on Dic/12 and tested with jQuery 1.4.2. It works, the issue is that I'm using jQuery 1.11.0, and it doesn't work with this version. It works...

Posted May 07, 2014 9:00 AM

Sintaxis error in jquery-1.11.0.min.js

In prestashop, jqzoom doesnt work and i looking for a error, i found this error in jquery-1.11.0.min.js, but i didn't modified it: unrecognized expression: input[@type=radio].star how can i solve it? This is the code of jqzoom that don't work: {if $jqZoomEnabled} ...

Posted May 19, 2014 11:45 AM

JQuery-Ajax script not working in ie on second click but working in FF and Chrome on second click

I have another weird little jquery-ajax problem. The script below works perfectly upon multiple clicks in FF and chrome, but only works the first click in ie. I have viewed it in firebug and no problems. I have similar jq...

Posted Feb 14, 2013 6:51 AM








Forgot Password
Reset my password!