Highlight asp.net text box when it gets focus. When your cursor will focus on text box it will be surrounded by a red rectangle when cursor leaves text it becomes normal. If coursor goes to button or dropdown list they dont get any style the behave as normal. This code is ony tested in IE7. [...]
Attention J Query Gurus J Query gurus can you put some light on this matter please? I am using J Query method for Ajax calls in my asp.net projects $.ajax({ type:”POST”, url:”WebService/WsCountry.asmx/getCountryList”, data:”{optionvalue:’”+checkedValue+”‘}”, contentType:”application/json; charset=utf-8″, datatype:”json”, success:function(response) In above I am using “datatype” as small characters, its working 100% for me in one project also [...]
How to populate asp.net drop down list from database by passing radio button list’s selected value as parameter with J Query, J Son? In my project I am taking off asp.net update panel where ever possible and replacing it with J Query Ajax. J Query Ajax is far better then asp.net Ajax and asp.net update [...]
How to disable Asp.net Button with JQuery? Following java script function disables an asp.net button. Tested in IE 7 <asp:Button ID=”Button1″ runat=”server” Text=”Disable me” OnClientClick=”disAbleMe()” /> function disAbleMe() { $(“#<%=Button1.ClientID %>”).attr(“disabled”,”true”); } You can try other attributes too.
Json, Jquery, $.ajax(), asp.net and c# to get ajaxed data table rows passing multiple parameters I got a request from my client that before creating user they want to see the list of existing users with the like first name and last name. I didn’t want to use asp.net ajax update panel and full post [...]
How to Use JQuery $.ajax()Â (AJAX) with Asp.net Drop down list’s “onchange” event and pass selected value as parameter. To perform above you need Jquery library, click on downloads to see where you can get Jquery. Following is the working example in which I am selecting a role from asp.net dropdown list and for that [...]
I came accross a problem while I was trying to Get ASP.NET Radiobutton list Text using JQuery. I used the JQuery method $(‘#<%=RadioButtonList1.ClientID%>’).val(); but it was not returning selected value though same works for asp.net Dropdown list then I started searching over the internet but didn’t find any solution. After searching for an hour I [...]