0 Replies Latest reply on Dec 9, 2009 9:07 AM by dragos cernahoschi

    rich:jQuery bug?

    dragos cernahoschi Newbie

      I'm trying to move the focus on the first input field that didn't pass the validation.

      <rich:jQuery selector="span[@class=value errorTag]:first input" timing="onload" query="focus()"/>

      It doesn't work and the HTML source looks like this:

      jQuery(document).ready(function() {
      var selector = "span[@class=value errorTag\x5D:first input";
      try {
      selector = eval("span[@class=value errorTag\x5D:first input");
      } catch (e) {}

      Is it normal that the square bracket is replaced by \x5D ?
      I'm using v 3.3.1.GA. The previous richfaces version didn't have this problem.