JS - console.log

0 votes
296 views
added Sep 5, 2018 in Javascript by LC Marshal Captain (25,790 points)
// To check the selector
console.log($(floorplanImg).attr('src').filename());

 

1 Response

0 votes
responded Sep 5, 2018 by LC Marshal Captain (25,790 points)
console.log($(floorplanImg).attr('src')); 
//output http://d1cqg347kk4c8a.cloudfront.net/s3fs-public/ckeditor/Icon%20-%20001.jpg

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...