Headers.prototype.getAll() function is removed from the Fetch API specification in Chrome. So you should not use this method to return an array of all the values of a header within a Headers object. Continue reading “Headers.prototype.getAll() has been removed from Chrome”
Asides
Make full select the text on the single click in text area
The following code sample can be used for to select the all text word in the single click. Continue reading “Make full select the text on the single click in text area”
Code snippet: Remove button element on the click event of itself using JavaScript
If you need to use the button to remove it self, you can use the following code. Continue reading “Code snippet: Remove button element on the click event of itself using JavaScript”
Get the file name from the full path in VB.Net
In the below there are two methods that can be use to extract the file name from the full file path. Continue reading “Get the file name from the full path in VB.Net”
The funny Error – Keyboard not found. Press F1 to RESUME
Some time user faces an error like ‘Keyboard not found. Press F1 to RESUME’ on their computers. It seems very funny but it exists in the BIOS based computers. Your windows 7 may also include this. Continue reading “The funny Error – Keyboard not found. Press F1 to RESUME”
Code snippet: Bind the select elements for the month numbers and years in JavaScript
In the following code snippets you’ll see that how to bind the month numbers 1 to 12 and year range into the select elements at run time using JavaScript. Continue reading “Code snippet: Bind the select elements for the month numbers and years in JavaScript”
Code snippet: Converting XmlElement to XElement and XElement to XmlElement in VB.Net
You can use the following functions to convert XmlElement to XElement and XElement to XmlElement in VB.Net. Continue reading “Code snippet: Converting XmlElement to XElement and XElement to XmlElement in VB.Net”
Code snippet: Create a new row in the HTML table using jQuery
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”
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”
Truncate all tables in SQL Database from single command
Today i need to blank all the tables in the SQL database. Till now I was using the truncate table command with the for loop in the code because i need to blank few tables. But now i need to blank whole database so i decided to use the sp_MSForEachTable system stored procedure like as: Continue reading “Truncate all tables in SQL Database from single command”