Click here to Skip to main content
15,922,407 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: preview a picture from my hard disk before upload it Pin
enjoycrack30-Jul-07 0:09
enjoycrack30-Jul-07 0:09 
GeneralRe: preview a picture from my hard disk before upload it Pin
ayeleteric30-Jul-07 0:18
ayeleteric30-Jul-07 0:18 
GeneralRe: preview a picture from my hard disk before upload it Pin
enjoycrack30-Jul-07 0:21
enjoycrack30-Jul-07 0:21 
GeneralRe: preview a picture from my hard disk before upload it Pin
enjoycrack30-Jul-07 0:24
enjoycrack30-Jul-07 0:24 
GeneralRe: preview a picture from my hard disk before upload it Pin
ayeleteric30-Jul-07 1:02
ayeleteric30-Jul-07 1:02 
GeneralRe: preview a picture from my hard disk before upload it Pin
Guffa30-Jul-07 1:13
Guffa30-Jul-07 1:13 
GeneralRe: preview a picture from my hard disk before upload it Pin
ayeleteric30-Jul-07 1:16
ayeleteric30-Jul-07 1:16 
GeneralRe: preview a picture from my hard disk before upload it Pin
ayeleteric30-Jul-07 2:59
ayeleteric30-Jul-07 2:59 
As I wrote upstair, I simplify the problem to a short code. Can you try to help me on this code. I think it will help me to the big one too.

The problem is that I do not see the picture.

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function Button1_onclick() {
document.getElementById("img1").src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg"
}

// ]]>
</script>
</head>
<body>
<form id="form1" runat="server">


<img src="" style="width: 96px; height: 96px" id="img1" />




<input id="Button1" type="button" value="button" önclick="return Button1_onclick()" />

</form>
</body>
</html>

Thank you,


Eric H.
QuestionAutocompleteText of TextBox Pin
Imran Khan Pathan29-Jul-07 22:46
Imran Khan Pathan29-Jul-07 22:46 
AnswerRe: AutocompleteText of TextBox Pin
enjoycrack29-Jul-07 23:58
enjoycrack29-Jul-07 23:58 
Questionhow to assign QueryString value to a variable Pin
hurrem29-Jul-07 22:39
hurrem29-Jul-07 22:39 
AnswerRe: how to assign QueryString value to a variable Pin
Imran Khan Pathan29-Jul-07 22:57
Imran Khan Pathan29-Jul-07 22:57 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem29-Jul-07 23:09
hurrem29-Jul-07 23:09 
GeneralRe: how to assign QueryString value to a variable Pin
Imran Khan Pathan30-Jul-07 3:15
Imran Khan Pathan30-Jul-07 3:15 
AnswerRe: how to assign QueryString value to a variable Pin
enjoycrack29-Jul-07 23:59
enjoycrack29-Jul-07 23:59 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem30-Jul-07 0:20
hurrem30-Jul-07 0:20 
GeneralRe: how to assign QueryString value to a variable Pin
enjoycrack30-Jul-07 0:23
enjoycrack30-Jul-07 0:23 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem30-Jul-07 0:25
hurrem30-Jul-07 0:25 
AnswerRe: how to assign QueryString value to a variable Pin
Piyush Vardhan Singh30-Jul-07 0:46
Piyush Vardhan Singh30-Jul-07 0:46 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem30-Jul-07 0:50
hurrem30-Jul-07 0:50 
GeneralRe: how to assign QueryString value to a variable Pin
Piyush Vardhan Singh30-Jul-07 1:10
Piyush Vardhan Singh30-Jul-07 1:10 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem30-Jul-07 1:14
hurrem30-Jul-07 1:14 
GeneralRe: how to assign QueryString value to a variable Pin
hurrem30-Jul-07 1:18
hurrem30-Jul-07 1:18 
GeneralRe: how to assign QueryString value to a variable Pin
N a v a n e e t h30-Jul-07 2:54
N a v a n e e t h30-Jul-07 2:54 
Questiondisplay picture into picture box selecting from sql Pin
ooooooooppppppss29-Jul-07 22:01
ooooooooppppppss29-Jul-07 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.