I am using this for uploading image from local directry
{
type : "<span style='margin:3px;'><input type='file' id='imgPath'/>
<button id='btnimg'
type='button' onclick='uploadImage()' style='width:110px;'
class='download download-primary'>Upload</button></span>"
},
But i am getting fakepath in the path location while uploading an image using the chrome browser :-
" C:/fakepath/image.png"
instead of getting the full path of the directory.
Its working fine using IE browser.
How i will resolve this problem.