C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Html »

Turning off autocomplete in JSP pages when using tag


Posted Date: 09 Jun 2009    Resource Type: Code Snippets    Category: Html
Author: VidhyaMember Level: Gold    
Rating: 1 out of 5Points: 10



The struts tags don't support the autocomplete tags. We can use the following code to make the structs tag to support autocomplete attribute.


html:text style="width:150px;\" autocomplete=\"off" maxlength="10" tabindex="35"/


Really struts tags don't support the autocomplete attribute by using above code. Whatever we do in the structs tags, finally it will be converted to html tag in Web browser.

well, when it is rendered, the tag becomes:


input type="text" autocomplete="off" style="width: 150px;" tabindex="35" maxlength="10"/


It seems it works.

Regards,
Vidhya
http://pc-tips-helps.blogspot.com



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Turning off autocomplete in JSP pages when using   .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: TextBox Color
Previous Resource: Select Action Html
Return to Discussion Resource Index
Post New Resource
Category: Html


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use