Re: Change a div.innerhtml
- From: Ayush <"ayushmaan.j[aatt]gmail.com">
- Date: Sun, 04 Mar 2007 18:26:37 -0600
Reventlov (see signature) wrote ::
Hi,
I'm working on my first hta. After pressing a button I want to clear the client area (a
DIV section), do some processing and then put the new data in the DIV.
It happens that I can change the mydiv.innerhtml only once. If I clear the div, nothing is
processed after it. If I comment out the mydiv.innerhtml = " " all works fine and the result is shown.
Is the only way to grey out the button in order to prevent other clicks?
This works here:
<html>
<head>
<title>XX</title>
<script language=vbs>
sub buttonClick()
mydiv.innerhtml = " "
' Processing.....
Resp = "click " & txt1.value
msgbox Resp
mydiv.innerhtml = Resp
end sub
</script>
</head>
<input id=txt1>
<input onclick="buttonClick" type=button value=ClickMe>
<br>
<div id="mydiv">Something</div>
</form>
</body>
</html>
Good Luck, Ayush.
--
Regular Expression Syntax : http://snipurl.com/RegularExpr_Syntax
.
- Follow-Ups:
- Re: Change a div.innerhtml
- From: Reventlov (see signature)
- Re: Change a div.innerhtml
- References:
- Change a div.innerhtml
- From: Reventlov (see signature)
- Change a div.innerhtml
- Prev by Date: Re: Change a div.innerhtml
- Next by Date: Re: AutoItX
- Previous by thread: Re: Change a div.innerhtml
- Next by thread: Re: Change a div.innerhtml
- Index(es):