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
Microsoft WORD doesnt open full screen
Outlook can not verify valid mailbox
How to change Hotsname and ipaddress of Oracle Databse server
The SELECT permission was denied on the object 'sysdtspackages90', database 'msdb', schema 'dbo'.
How to disable form fields in Coldfusion flash form by clicking a checkbox?
Nagios - email notifications
php file to list all file in directory
MS SQL Server only using one core on a 4 core box
Sync outlook 2010 between laptop and desktop
Riverbed with Cisco GRE Tunnel