You can create a new row in the existing html table at run time using the jQuery. The following code sample shows how to create a new row in to the html table. Continue reading “Code snippet: Create a new row in the HTML table using jQuery”
Tag: code snippet
Code snippet: Create JSON string from the web grid in MVC 4
The following JavaScript function returns the JSON string from the data of all displayed rows in the Web Grid control in the MVC framework.
You need to replace web grid id from the #employeeGrid in the third line of the function. Continue reading “Code snippet: Create JSON string from the web grid in MVC 4”
How to get the location of your current desktop wallpaper using C#
Introduction
With the help of the following code snippet, you can know the location of your currently used wallpaper on your desktop.
Continue reading “How to get the location of your current desktop wallpaper using C#”