Click here to Skip to main content
15,908,111 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHelp me in this script Pin
Menhal24-Nov-07 2:03
Menhal24-Nov-07 2:03 
AnswerRe: Help me in this script Pin
Shog924-Nov-07 7:47
sitebuilderShog924-Nov-07 7:47 
GeneralRe: Help me in this script Pin
Menhal24-Nov-07 17:26
Menhal24-Nov-07 17:26 
QuestionJavascript popup - same window from two parent window... Pin
choorakkuttyil23-Nov-07 23:44
choorakkuttyil23-Nov-07 23:44 
AnswerRe: Javascript popup - same window from two parent window... Pin
Shog924-Nov-07 7:41
sitebuilderShog924-Nov-07 7:41 
Questions updating multiple rows Pin
neoghy23-Nov-07 19:37
neoghy23-Nov-07 19:37 
AnswerRe: s updating multiple rows Pin
Shog924-Nov-07 7:21
sitebuilderShog924-Nov-07 7:21 
QuestionInteroperatablity between managed and unmanaged code Pin
mastermind.aj23-Nov-07 1:59
mastermind.aj23-Nov-07 1:59 
AnswerRe: Interoperatablity between managed and unmanaged code Pin
Michael Sync23-Nov-07 17:58
Michael Sync23-Nov-07 17:58 
QuestionDreamweaver Problems Pin
EMMADO23-Nov-07 1:03
EMMADO23-Nov-07 1:03 
QuestionHow to disabled Div in JS. Pin
KambojR22-Nov-07 20:59
KambojR22-Nov-07 20:59 
AnswerRe: How to disabled Div in JS. Pin
Michael Sync22-Nov-07 22:13
Michael Sync22-Nov-07 22:13 
GeneralRe: How to disabled Div in JS. Pin
KambojR22-Nov-07 23:22
KambojR22-Nov-07 23:22 
GeneralRe: How to disabled Div in JS. Pin
Michael Sync23-Nov-07 1:23
Michael Sync23-Nov-07 1:23 
If you run this code in IE, the textbox will be disabled. (but you can still type the characters in textbox so that means the color of textbox is changed and the textbox won't become the readonly mode. )

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script type="text/jscript">
function disableDIV(){
var d = document.getElementById('div1');
d.disabled = true;
}
</script>
</head>
<body>
<div>
<div id="div1">
<input id="myTextbox" type="text" />
</div>
<input type=button onclick="disableDIV();" />
</div>
</body>
</html>

So, What I suggest you to do is that show the transparent image which has same size on this div. The user won't be able to click your treeview as long as the image is showing over it.

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

GeneralRe: How to disabled Div in JS. Pin
JyotiRawat25-Nov-07 20:15
JyotiRawat25-Nov-07 20:15 
GeneralRe: How to disabled Div in JS. Pin
Michael Sync25-Nov-07 20:31
Michael Sync25-Nov-07 20:31 
GeneralRe: How to disabled Div in JS. Pin
JyotiRawat25-Nov-07 20:43
JyotiRawat25-Nov-07 20:43 
GeneralRe: How to disabled Div in JS. Pin
JyotiRawat26-Nov-07 17:30
JyotiRawat26-Nov-07 17:30 
GeneralRe: How to disabled Div in JS. Pin
KambojR27-Nov-07 2:01
KambojR27-Nov-07 2:01 
QuestionAnchor Tag in Java script Pin
Satish_S22-Nov-07 19:22
Satish_S22-Nov-07 19:22 
AnswerRe: Anchor Tag in Java script Pin
Vasudevan Deepak Kumar22-Nov-07 19:40
Vasudevan Deepak Kumar22-Nov-07 19:40 
GeneralRe: Anchor Tag in Java script Pin
Satish_S22-Nov-07 19:54
Satish_S22-Nov-07 19:54 
Questionmial at mail address Pin
idsanjeevjha22-Nov-07 19:07
idsanjeevjha22-Nov-07 19:07 
AnswerRe: mial at mail address Pin
Vasudevan Deepak Kumar22-Nov-07 19:14
Vasudevan Deepak Kumar22-Nov-07 19:14 
QuestionRe: mial at mail address Pin
idsanjeevjha22-Nov-07 19:53
idsanjeevjha22-Nov-07 19:53 

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.