webcontrol.attributes

  • Thread starter Abraham Andres Luna
  • Start date
A

Abraham Andres Luna

i tried to set an attribute on a webcontrol:

tbName.Attributes["onBlur"] =
@"javascript:setTimeout("RDK_HideDiv(divOfNames)", 3000);";

but this is the rendered html page:

onBlur="javascript:setTimeout("RDK_HideDiv(divOfCusIds)",
3000);"

how can i get it to just render the & sign not &

thank you for your help
 
P

Phillip Williams

tbName.Attributes["onBlur"] =
@"javascript:setTimeout('RDK_HideDiv(divOfNames)', 3000);";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,159
Latest member
SweetCalmCBDGummies
Top