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');
        $.ajax({
            cache: false,
            type: "POST",
            url: "/check-username.php",
            data: "nn=" + usr + "&prr=" + paro,
            success: function (msg) {
                $("#status").ajaxComplete(function (event, request, settings) {
                    $("#nn").removeClass('object_ok');
                    $("#nn").addClass("object_error");
                    $(this).html(msg);
                });
            }
        });
    });
});
</script>
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

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

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

JQuery script not working w/AJAX in Rails 4

Basically, I have my messages inbox (using mailboxer gem) arranged in a collapsible accordion (using twitter bootstrap). Whenever a user clicks on a conversation, it expands and shows all the messages. I want it so that when the...

Posted May 23, 2014 12:47 PM

Jquery Swipebox not working in IE version 8

I'm using code demo here: http://brutaldesign.github.io/swipebox/#try I has change $(window).bind('keyup', function(e){ to $(document).bind('keyup', function(e){ All browser test ok, but when I test IE8 is error black blank background and not show image, how to fix it ?...

Posted Jun 08, 2014 2:45 AM

Magento jquery click not working in firefox & ie

I have added custom js in page.xml file. <action method="addItem"><type>skin_js</type><name>js/custom_function.js</name><params/></action> that js contain code for click jQuery(".search_img").click(function(){ var d=jQuery("#search").css("display"); var value=jQuery("#search").val(); if(d=="none") { jQuery("#search").show(); } if(d=="block") { if(value=="") { jQuery("#search").hide(); } } }); its working in...

Posted Nov 21, 2013 11:11 AM

Bootstrap modal stopped working in Chrome / Firefox but ok in IE8

I have just recently noticed my bootstrap modals have stopped working when I hadn't changed anything. I've searched here and Google and no one has the same issue exactly. To prove my point I copied the Bootstrap demo code into...

Posted Nov 23, 2013 10:05 AM

 
 
Email:

Username:

Password:


Register

Username:

Password:

Login


Forgot Password
Reset my password!