Microsoft
Software
Hardware
Network
Question : dynamically rename div id on the server side
Hi,
I got a <div id="oldDiv" runat="server"> on a user control,
then on the user control's Page_Load event,
I renamed oldDiv's id to "newDiv": oldDiv.ID = "newDiv";
I created a page, and added this user control, then create a javascript function.
Within this function it calls
document.getElementById(d)
However it returns null, which d ="newDiv" on the page.
Does anyone know what causes that and how to fix that?
Cheers
Answer : dynamically rename div id on the server side
Take a look at the TASKKILL command, it supports wildcards in the image name that you wantto kill andmay be able to do what you need.
http://technet.microsoft.c
om/en-us/l
ibrary/
cc7
25602%28WS
.10%29.asp
x
~bp
Random Solutions
Need app to automatically turn off iphone at location
Increment Value
hackintosh for eee pc 1001ha
Transition or Restructure 2003 to 2008 R2 AD? Migrate Exchange 2003 or just move to 2010?
2008 query in 2000
access 2k7 split DB with Runtime frontend
Moved a Dolpin 7 website to a new server and I get an error message.
Netlogon Service stopped on SBS2003
Best use of a SATA 6g/s hard drive?
dumb Access VBA question