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
How to make IN operator to accept CSV which are varchar in SQL Server 2008
OMA and OWA
Exchange 2010 refusing SMTP port 25 connections
compareTo() - JavaScript example needed
return a value
how do I let users access OWA by exchange.domain.com vs. exchange.domain.com/exchan
ge
Nested forms asp.net IE8
How do you access a ssh-secured SMB share from a Windows 7 client?
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
Mac Mail only shows 90 days of deleted items