Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Attributes.Add by id

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom - 30 Nov 2007 17:31 GMT
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...
Göran Andersson - 30 Nov 2007 23:04 GMT
> 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.
[quoted text clipped - 4 lines]
>
> Thanks...

If you are using C#, use:

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

Signature

Göran Andersson
_____
http://www.guffa.com

Eliyahu Goldin - 02 Dec 2007 12:35 GMT
this.return.Attributes.Add

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

>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.
[quoted text clipped - 4 lines]
>
> Thanks...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.