If I recall correctly, match() always returns an array. Try: catid = $(this).attr("name").match(/\[.+\]/) [0];
On Apr 20, 3:41 pm, Sen <[EMAIL PROTECTED]> wrote: > No ideas?
If I recall correctly, match() always returns an array. Try: catid = $(this).attr("name").match(/\[.+\]/) [0];
On Apr 20, 3:41 pm, Sen <[EMAIL PROTECTED]> wrote: > No ideas?