im using javascript for round corner
its only works when i click the textbox. If the textbox lost focus then the textbox again become rectangle where im wrong, heres the code
<script src="Jquery/rounded-corners.js" type="text/javascript"></script>
<asp:TextBox CssClass="rounded rc5 FilterCriteria" ID="txtSearch" runat="server"></asp:TextBox>
<ajaxToolkit:FilteredTextBoxExtender ID="ftxtSearch" runat="server" TargetControlID="txtSearch" FilterType="Numbers" />
<style>
.rounded {
background:white;
white-space:nowrap;
zoom:1;
}
.rc5 {
border-radius: 5px 5px 5px 5px;
}
</style>
But you are not using javascript to round the textbox corners. All what you do is using border-radius means that you are using style(CSS 3.0) to round textbox corners; your browser must be compatible with CSS3.0