jQuery [nodeName=ns1:result] syntax no longer works

Written by James McDonald

December 13, 2011

Just tried to use [nodeName=namespace:node_name] syntax in Firefox and Chrome to get a result message from a soap responseXML and failed while using jquery-1.6.2.min.js and jquery-1.7.1.min.js:

This is the contents from my jQuery.ajax “success:” blocks code

success : function(resp) {
      var res = $(resp).find('[nodeName=ns1:result]').text();

Apparently this no longer works http://bugs.jquery.com/ticket/10377 and they aren’t inclined to fix it because. There are so many problems getting it all to work in multiple browsers.

My fix was to go back to jquery-1.4.2.js which works.


Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Network speed test host to host

On Ubuntu / Debian apt-get install iperf3 On Windows download it from https://iperf.fr/iperf-download.php#windows Make...

Clear HSTS Settings in CHrome

Open chrome://net-internals/#hsts enter the domain in the query field and click Query to confirm it has HSTS settings...