Coding Standard for Javascript
This is the javascript coding standard that my colleague found on Github, but seriously this is a good standard and I recommend it to any developer
This is the javascript coding standard that my colleague found on Github, but seriously this is a good standard and I recommend it to any developer
AI engineer and solution architect in Sydney. Agents, MCP, RAG, Azure, .NET, EV charging. I write about what breaks after go-live.
Knockout allows you to bind the HTML to your javascript object. It simplifies DOM manipulation and allow the portability of the javascript object and action. It is pretty much the same concept as MVVM in silverlight.…
It’s pretty clean to set, bind and use enum in your javascript //Enum declaration var AvailableActions = { “Action”: 1, “Priority”: 2, “Status”: 3 }; //Bind function Load() { for (var action in AvailableActions) { jQuery(“#MandatoryActionList”).append(“<option…
Sometimes people add javascript into the aspx page instead of using code behind but there is a case when we need to add javascript in the runtime using code behind. This is the example where javascript…
Great article in having multiple views within one page http://blog.yojimbocorp.com/2012/02/14/multiple-view-models-with-knockout/
This might be useful for web developer which wants to have one key event handler that compatible with all browsers. document.onkeyup = KeyCheck; function KeyCheck(e) { //this is used for cross browser var KeyID = (window.event)…
ParseJSON returning you an object from your AJAX Call, the problem that I have is my object properties has invalid character (e.g “#”) Assuming jsonData is my variable that contains the following information I’d like to…