Attributes.Add by id

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I have to change a value in an input tag for a PayPal form. The name of the
input is "return" and I can't change it.

I can't use return.Attributes.Add

Is there a way to use Attributes.Add by the element id rather than name?

Thanks...
 
Tom said:
I have to change a value in an input tag for a PayPal form. The name of the
input is "return" and I can't change it.

I can't use return.Attributes.Add

Is there a way to use Attributes.Add by the element id rather than name?

Thanks...

If you are using C#, use:

@return.Attributes.Add(...);
 
Back
Top