News.. dont work in IE6 >.<" (i think the problem
Hi all,
i'm working on this code for a one day, and that works fine in FF, Opera and GC, but dont in IE..
I do clones of MyCamp, and check the contents to aply the mask. But, in IE, after make a clone i only can click (receve focus) on the last input of list.
-
$("#Form :input[id=MyCamp]").each(function (obj)
{
if($(this).val()== "" || String($(this).val()).match("/([0-9]{2} ?)?(\()?([0-9]{2})(\))? ?[0-9]{4}-?[0-9]{4}/gi") !== null)
{
$(this).setMask({mask: "(99) 9999-9999"});
this._toggle=true; }else{ this._toggle=false;
}
$(this).unbind("dblclick");
$(this).dblclick(function(e)
{
manageMask(this, "$(Obj).setMask({mask: \"(99) 9999-9999\"});");
e.stopPropagation();
e.preventDefault();
return false;
})
});
I dont think the matter is the function "manageMask", because if I remove it, still dont working in IE.
any doubt, I give more details.
Really Thanks,
Claudio