Change elements names dynamically issue

Hello Everyone…

I am new to Yii. My requirement is that i have created widget for adding addresses. Over there i have written jquery clone method for cloning the address div.

My requirement is when clone the address div, it will add the counter in front of label i.e Address 1, Address 2…

But in my model class i have set attribute label for address. So how can i manage it in Yii?

Thanks in advance

[color="#006400"] /* moved to general discussion */[/color]