I am getting json array which contains various name/value pairs. and for every response its different as it comes from database. for every response i get, one name/value pair represents image url info. But problem is that name is not constant for all request. i.e. is for one request it can be:
'imgurl':'http://l1.yimg.com/071153.jpg'
and for other it can be anything having different name.something like:
'imginf':'http://lre.ghamg.co.in/arecon.png'
.
I am looking for a way to check whether given variable represents image url(any type of image) using javascript or jquery.i am looking for any good suggestions if they can help me with this.
Thanks for stopping by...!!