Tag Archives: HTML

Validate HTML CheckboxList using jQuery




HTML checkbox list is slightly different. The main problem is that it can’t be accessed using ID because every checkbox will have different ID. But they share one common attribute which is “name“. So while accessing checkboxes in jQuery, need to use “name” attribute. Let’s declare a HTML checkboxlist. <input type="checkbox" name="technologies" value="jQuery" /> jQuery <br/> <input type="checkbox" name="technologies" value="JavaScript" />JavaScript <br/> <input type="checkbox" name="technologies" value="Prototype" /> Prototype<br/> <input type="checkbox" name="technologies" value="Dojo" /> Dojo<br/> <input type="checkbox" name="technologies" value="Mootools" /> Mootools […]

Add Hyperlink to images using jQuery




To Add Hyperlink to the image, we normally use <a> tag that contains image tag to show the image. But assume there are 100 images and you need to add hyperlink to every image. Putting 100 <a> tag with each image is time consuming and painful. But jQuery can make your task painless. So in this post, I will show to how to add HyperLink to images using jQuery. jQuery provides a method named “wrap()“, which can be used to […]

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 […]

Top jQuery Tips & Tricks for Programmers

Top jQuery Tips & Tricks for Programmers




Following are few very useful jQuery Tips and Tricks for all jQuery developers. I am sharing these as I think they will be very useful to you. Disclaimer: I have not written all of the below code but have collected from various sources from Internet.

Search Engine Optimization Tips To Improve Rankings




I would like to share with you a few search engine optimization tips to make your Website search engine optimization friendly and to make superior with no minimum search engine optimization skills on your end. Positioning on search engines can rely absolutely but not completely to a few serious factors known as Onpage search engine optimization and Offpage search engine optimization. Onpage search engine optimization can be all the content your site contains from navigation building, layout, structure, images, text, […]

Best Web Developer practices in HTML




HTML markup language for World Wide Web have been used for move twenty years, from HTML4 to XHTML, now HTML5. However, there are some fumdamental practises that works on all version of HTML you should be aware all the time. Let me remind you 10+ best practices that lead to clean and correct markup.

Validate and Sanitize Data in PHP




Data Sanitization and Validation is an important step to maintain highest quality standard of Data Security. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Why Sanitize and Validate?? On different web applications, there are sorts of threats related to data security from user-inputs and third-party data. Some data security threats: Cross-Site Scripting (XSS) A form of code injection where a script is injected onto a website from a completely different […]

Best Creative Uses for PHP




If you are familiar with the basics of PHP, then you’re probably wondering how you can use it to make your website more appealing. The possibilities are endless, and you can write your own PHP scripts or implement widely available scripts from around the web. Let’s get started with 15 creative uses for PHP for your website! 1. E-Commerce E-commerce is one of the major uses for PHP. From a small business level to an enterprise level, businesses are always […]

Best jQuery LightBox Plugin

Best jQuery LightBox Plugin




Lightbox is a JavaScript technique used to display large images using modal dialogs but now we are in era of jQuery. And with jQuery, there are many jQuery lightbox plugin available but here is a list of top and best 5 jQuery lightbox pluginswhich you can easily integrate in your website.