You can do this. ASP.Net for an asp:Textbox will still render a HTML textbox. The most likely problem is that your control is in some type of control container and is thus rendering a different ID. You can do viewsource to see the actual ID of the control. Depends upon usage, you can sometimes use myTextBox.ClientID to get the rendered ID if this is the problem. Also, if the control is inside some type of list-bound control such as a repeater, datalist, datagrid, etc you will need to handle it differently. As per postbacks, I don't know why a textbox would cause a postback. Are you trying to assign a different behavior to a button click or some other event? You can always attach client javascript to these as well.1 There are different senarios and it would be best for us to see your code so we can give you the correct method. Thanks Chris Farrell
_____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Arun Sent: Friday, July 21, 2006 1:26 PM To: [email protected] Subject: [AspNet2] Javascript in asp.net 2.0 I am new to ASP.NET 2.0, i have been using javascript with ASP quite a lot to take care of client-side issues......but these do not seem to work with ASP.NET 2.0 pages that i have created..... kindly tell me how to get text from a textbox manipulate it and put it back in......i need this very badly for my project......although i have solved it with a trick......but i believe that the approach that i have followed is not very good as it involves server postback.... please help me thanks in advance [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/umvwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNet2/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

