[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Ricardo Tomasi
('#main-photo-next :last').name You're missing the $/jQuery and trying to get a property that doesn't exist. change that to $(this).attr('name').replace(...) and you're set. On Dec 29, 1:36 am, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I'm cloning a section of code to create

[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Rick Faircloth
Is the functioning order of the code wrong somewhere? Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ricardo Tomasi Sent: Monday, December 29, 2008 11:02 AM To: jQuery (English) Subject: [jQuery] Re: Why isn't the name attr

[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Ricardo Tomasi
11:02 AM To: jQuery (English) Subject: [jQuery] Re: Why isn't the name attr in this code incrementing? ('#main-photo-next :last').name You're missing the $/jQuery and trying to get a property that doesn't exist. change that to $(this).attr('name').replace(...) and you're set

[jQuery] Re: Why isn't the name attr in this code incrementing?

2008-12-29 Thread Rick Faircloth
...@googlegroups.com] On Behalf Of Ricardo Tomasi Sent: Monday, December 29, 2008 11:02 AM To: jQuery (English) Subject: [jQuery] Re: Why isn't the name attr in this code incrementing? ('#main-photo-next :last').name You're missing the $/jQuery and trying to get a property that doesn't