PROBLEM: Using conditional comments it is easy to target Internet Explorer with browser-specific CSS rules: Sometimes it is the Gecko engine (Firefox) that misbehaves. What would be best way to…
PROBLEM : We have a <div> block with some fancy visual content that we don’t want to change. we want to make it a clickable link. It something like <a…
PROBLEM: We using word-wrap: break-word to wrap text in divs and spans. However, it doesn’t seem to work in table cells. We have a table set to width:100%, with one…
Maven Mavenis a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation. It simplifies the build process like…
PROBLEM How to check for an empty string in JavaScript SOLUTION 1: If we need to check whether there’s any value in string, If we need to check specifically for…
PROBLEM : We build a PHP script that feeds JSON data to another script. ur script builds data into a large associative array, and then outputs the data using json_encode….
What is a Client side programming language? Client side programming has mostly to do with the user interface, with which the user interacts. In web development it’s the browser, in…
PROBLEM: When debugging in PHP, we frequently find it useful to simply stick a var_dump() in our code to show me what a variable is, what its value is, and…
.attr() Get the value of an attribute for the first element in the set of matched elements. .prop() Get the value of a property for the first element in the…