Skip to main content

Blog

C# - Replace BR Tag / New Line

Here is a code snippet for replacing br tag with new line in C# 

The Top Four Social Media Behemoths

There are too many social networks to give a detailed blow-by-blow account of how to maximize online marketing efforts on each, so we’ll focus on the top four: Twitter, Facebook, LinkedIn, and YouTube. The lessons learned here can be applied to other social media.

jQuery - Bind/Unbind Event to Element

With jQuery it is easy to add events to our HTML elements.

<div id="buttondiv">Button</div>

In this example method bind() will be used. It attaches the specific event to the given element.

C# - First Letter to Upper Case

Here is a code snippet for transforming first letter to upper case in C# 

jQuery - Creating DOM Node

jQuery is a JavaScript library that is not only capable for changing element's content but it can create DOM nodes, too.

In this article, as a part of our jQuery tips ans tricks, jQuery will be used for creating DOM node in runtime.

We're going to use the next HTML code as a sample for adding new element to:

<div id="testdiv">
    jQuery creating DOM node article
</div>

Some of jQuery methods that could be used for creating DOM nodes are: