Home » Posts tagged"Java Script"
WordPress 4.2 and earlier vulnerable issues found !
30 Apr
2015
Written by Sumith Harshan

WordPress 4.2 and earlier vulnerable issues found ! »

(adsbygoogle = window.adsbygoogle || []).push({});

The vulnerability allows an attacker to inject JavaScript in the WordPress comment field; the comment has to be Read more…

Javascript open the url in new tab
12 Oct
2013
Written by Sumith Harshan

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 Read more…

javascript adding commas to numbers »

javascript adding commas to numbers easy to do.You can put commas to each 3 decimal places.That means separating the thousands or javascript number Read more…

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 Read more…

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 Read more…

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 Read more…

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 Read more…

JQuery creating smart countdown timer »

JQuery
23

This post is describing how to create countdown timer using JQuery.If you already have a knowledge of java script time,date functions this is Read more…

Get last 10 characters from a string using Java script »

If you want to get last 10 or 5 or nth characters from a string using java script, this can be done very Read more…

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 Read more…

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

JQuery
22

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 Read more…

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 Read more…

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 Read more…

Java Script get combo box selected value »

How to get user selected value and text in the drop down box/combo box using java script.Here tested easy best methods to get Read more…

Java Script check string in the URL »

How to check if some string is exist or not in the url using java script.For a example,I want to check “.php” extension Read more…

HTML Cross-Browser Placeholder »

How to create html placeholder to working all web browsers.This can be done using simple java script.Working for all major web browser.First of Read more…

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 Read more…

PHP array convert to Java Script array »

PHP
14

Sometimes when we using php, we want to convert php array to java script array.php array can be convert to java script easily.Here Read more…

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 Read more…