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 *

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...