Latest Articles
-
How to reload the page when resize the page in jQuery
The following method will help you to reload the page when you resize the page, For example when you press F12 in your browser ... -
How to remove the spaces between the string in JQuery
How to remove the spaces between the string in JQuery. [js] var str="Sibeesh Passion" var strAfter=str.replace(/\s/g, ”); [/js] -
How to forcibly call the change function of UI element in JQuery
How to forcibly call the change function of UI element in JQuery. [js] $("#ddlcubeName").change(); [/js] Here ddlcubeName is my UI element. I wanted this ... -
Check a string is number or not in C#
Check a string is number or not in C# [csharp] double result; bool isNumeric = double.TryParse(rdr[i].ToString(), out result); [/csharp] Here rdr[i].ToString() is my string ... -
How to trim that last occurrence of a character in C#
How to trim that last occurrence of a character in C# The below example will show you how to do that:) [csharp] string str ... -
Make a check box is checked in JQuery
Make a check box is checked in JQuery. [js] $("#mapEnableLegend").prop(‘checked’,true); [/js] Here mapEnableLegend is my check box ID -
Check Whether a check box is checked or not in JQuery
Check Whether a check box is checked or not in JQuery [js] $("#mapEnableLegend").prop(‘checked’) [/js] Here mapEnableLegend is my check box, the above code will ... -
Find object length in jquery
Consider below is my Json Object, now I need to know the length of this object. In array we can use the length property, ... -
How to use css property in JQuery
How to use css property in JQuery. [js] $("#main").css({‘width’: ‘99.5%’}); [/js] Here main is my UI element, Here I am assigning width as 99.5% -
Find and set checked true and call click event dynamically
Find and set checked true and call click event dynamically. [js] var liIndex = 6; $(".containerul li:nth-child(" + liIndex + ")").find(".boxcheckbox").prop(‘checked’, true); $(".containerul li:nth-child(" ...