Tag Archives: Functions

Top 5 Ways to Optimize You PHP code

PHP is undoubtedly one of the preferred development language for Web development. However, when the project is growing bigger and bigger, there is a real need to manage yout PHP codes so that it could run faster and efficiently. To optimize PHP codes, it require your indeep understanding the mechanism of those PHP built in function and coduct testing on it. Here are 5 ways that you can modify to optimize you PHP code performance. 1) Loop Loop are required […]

HTML and Jquery

jQuery and HTML. Yes, in today post, I will show you some of the jQuery methods that you can use to change the HTML of the DOM elements. These methods are useful and easy to understand. To change HTML Content The html() method changes the contents (innerHTML) of matching HTML elements. $("div").html("jQuery By Example Rocks!!!"); To get HTML Content The html() method can also be used to get the contents (innerHTML) of matching HTML elements. var dvHTML = $("div").html(); Adding […]

jQuery String Functions

In today’s post, I have put together all jQuery String Functions. Well, I should say that these are not “jQuery String Functions“. These are “JavaScript String Functions“. But as jQuery is built on top of Java Script so you can use them with jQuery as well. So I call them “jQuery String Functions“.