TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mohammed shamsheer
NA
394
143.6k
how to get hidden value in javescript
Oct 3 2013 6:49 AM
<script type="text/javascript">
function uploadStarted() {
$get("imgDisplay").style.display = "none";
}
function uploadComplete(sender, args) {
var imgDisplay = $get("imgDisplay");
imgDisplay.src = "images/loader.gif";
imgDisplay.style.cssText = "";
var img = new Image();
img.onload = function () {
imgDisplay.style.cssText = "height:150px;width:150px";
imgDisplay.src = img.src;
};
img.src = "<%=ResolveUrl(filename) %>" // "<%=ResolveUrl(hdnImage.ClientID) %>"; // args.get_fileName();
}
</script>
<%=ResolveUrl(hdnImage.ClientID) %> : hdnImage is hiddenvalue which contain the file name
Question:I am not able to get the filename to the hdnImage
how can i get it in the javascript..pls help..!!
Reply
Answers (
3
)
cannot read the data from gridview column
How to display three columns in a table in MVC