WordPress 4.2 and earlier vulnerable issues found !

The vulnerability allows an attacker to inject JavaScript in the WordPress comment field; the comment has to be at least 66,000 characters long and it will be triggered when the comment is viewed.
Date:- April 27th, 2015.
Continue reading WordPress 4.2 and earlier vulnerable issues found !

Javascript open the url in new tab

If you’re working with javascript and html sometimes you want to open the url in browser new tab using javascript.Because that process is dynamically doing using javascript and can’t apply the html.For a example If I clicked on the link it open in new tab, but that clicking process is doing by javascript.I think you have an idea about that.OK, let’s see how to open a link in the new tab using javascript.

Continue reading Javascript open the url in new tab

Best and easy way to remove line numbers from the large source code…..

When we are coping some source codes from web pages, also coping with line numbers.If we are coping large source code can you remove there line numbers manually.It is not practical and wasting your time.Here is the best and easy way to remove line number from a source code using javascript. Continue reading Best and easy way to remove line numbers from the large source code…..

Java script get table cell values and get cell text boxes values

How can I get table cell values and cells text boxes values?That means getting childNodes values using java script.This is easy using core javascripts.Only using 2 for loops.First loop is going to get rows by rows.And other for loop is going each colomn/cells while running the loop of row.This is easy to understand by following simple example.
Continue reading Java script get table cell values and get cell text boxes values

Javascript get last characters from a URL or string

How can I get last two characters or specific characters from a url or given string.If you have basic knowledge of javascript substring this is easy job.

First of all, look at this example.Then you can understand this better. Continue reading Javascript get last characters from a URL or string

Display each users location in google map using address in PHP and Java Script

Display each users locations in the google map after submitting his addresses using php and java script.This is displaying using location latitude and longitude.That is marked by red bubble.You can customize map types as ROADMAP,SATELLITE,HYBRID or TERRAIN, displaying controls….etc.

Continue reading Display each users location in google map using address in PHP and Java Script

Java script remove backslashes and forwardslashes from a string

How can I remove backslashes and forwardslashes from a string or remove forwardslash from a url using java script.I’m going to explain to do this by using regular expressions and simple core java script. Continue reading Java script remove backslashes and forwardslashes from a string

JQuery check page is fully loaded or not | $(document).ready() vs $(window).load()

How to check web page is fully load or not using JQuery.First you must understand JQuery document.ready and window.load functions.Here this is simply describes also differences between document.ready and window.load functions and usages.
Continue reading JQuery check page is fully loaded or not | $(document).ready() vs $(window).load()

Java script detect iPhone, iPad, iPod and Android devices

How to detect iPhone, iPad, iPod, Blackberry and Android or detect mobile devices using Java script.This is very useful to developing your web sites to view those iPhone, iPad, iPod, Blackberry and Android also mobile phones.Here, examples to detect iPhone, iPad, iPod and Android using Java script. Continue reading Java script detect iPhone, iPad, iPod and Android devices

Java script detect Touch-screen devices

When you are developing web sites for compatibility all browsers and mobile devices.But sometimes you want to detect who viewing the site that using device is consisting with touch-screen or not.Here is a perfect,tested and easy example to detect touch screen devices.This was tested in lot of web browsers.
Continue reading Java script detect Touch-screen devices

Java Script check date range is valid or not

Q:- I want to validate date range or if exist date range by using java script.
Answer :-
This is can be done using Date() object.Look at the following function.It will return date range is valid or not.Simply you have to pass start date and end date only.

Continue reading Java Script check date range is valid or not

How to delete all cookies using Java Script

Here is a simple small function to delete all cookies using java script.You have to only call to this function.You can test this using firebug console.You can only remove cookies created by JavaScript.If a cookie was create by the server, then you cannot remove it through JavaScript.
Continue reading How to delete all cookies using Java Script