- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
//JSON objects like '["google.com", "yahoo.com"]'
var lstUrls = '<%= strLstUrls %>';
var lstImgUrls = '<%= strLstImgUrls %>';
//Remove quotes
var lstUrls = lstUrls.replace(/\"/g, ' ');
var lstImgUrls = lstImgUrls.replace(/\"/g, ' ');
//Remove first character
var lstUrls = lstUrls.substring(1, lstUrls.length);
var lstImgUrls = lstImgUrls.substring(1, lstImgUrls.length);
//Remove last character
var lstUrls = lstUrls.substring(0, lstUrls.length - 1);
var lstImgUrls = lstImgUrls.substring(0, lstImgUrls.length - 1);
//Split string into array
var arrUrls = lstUrls.split(",");
var arrImgUrls = lstImgUrls.split(",");
Konardo 27.02.2014 13:08 # −15
RomashkaPro 27.02.2014 13:54 # −3
Konardo 27.02.2014 14:02 # −12
RomashkaPro 27.02.2014 14:04 # −2
Vasiliy 27.02.2014 16:31 # +9
Konardino 27.02.2014 18:14 # −14
Stertor 27.02.2014 18:46 # −3
Konardino 27.02.2014 21:31 # −26
someone 27.02.2014 13:18 # −1
RomashkaPro 27.02.2014 13:54 # −1
guest 28.02.2014 05:16 # −3