Hi,
I need to implement a next to last selector for our project. I came up with the following code,
jQuery.expr[':'].next_to_last = function(obj, index, m){
var $this = jQuery(obj);
return $this.find(m[3]).last().prev();
};
Is there any problem with this implementation?
Thanks in advance,
John