Search Engine Optimization     Web Development     SEO     Website Designing     Increase Ranking    

How to get variable value in javascript

How to get variable value in javascript

if you want to get value from query string in javascript

<script type=”text/javascript” language=”javascript”>// <![CDATA[
var qrStr =;
var spQrStr = qrStr.substring(1);
var arrQrStr = new Array();
var arr = spQrStr.split(‘&’);

for (var i=0;i<arr.length;i++){
var queryvalue = arr[i].split(‘=’);
queryvalue[1]=queryvalue[1].replace(/%20/g,” “);

// ]]></script>

like if you want to pick
query string value sent successfully

it will return msg value

About admin

I am Vimal Kumar CEO of have a great knowledge of seo,programming and web designing.I have spend 5 years in this field.
now managing