Posts Tagged ‘FAQ’
Comment box not visible on a page/post in WordPress 3.2.1
First of all I will congratulate you on upgrading to wordpress 3.2.1. Having latest version means your site is updated and safe.
Now coming to the point, some of you might ...
jQuery Tip: Finding tag name of an element
While coding jQuery or javascript, sometimes we need the tag name of an element. This post will show how you can retrieve the tag name of an element easily using ...
Quick PHP Tip: How to parse CDATA sections using SimpleXML
Applies to: simplexml_load_string and simplexml_load_file
Problem : SimpleXML does not parse text inside CDATA tags in an XML.
Consider the XML below:
$str = '';
$str.='some text goes here';
$str.='';
To parse it we use following ...
FAQ : How to toggle visibility of an html element by javascript
In my previous post, I discussed how we can change the style and/or css class of any html element by JavaScript. We can take advantage of this feature to add ...
FAQ : Problem with javascript function parseInt
JavaScript function parseInt() is used to parse a string and extract the integer from that string.
Therefore if you do parseInt(“200xyz”), it will return 200.
The problem arises when you do the ...
FAQ: calculate number of days between two dates in javascript
From today onwards I am introducing a new category FAQ. It will contain quick solutions and code for common problems developers face daily in javascript and php. Browser compatibility issues ...
