getting space in controls client id

V

Vikram

i am using a control in javascript function like this
document.forms[0].elements['<%=hdnRefID.ClientID>'].value='';

i m getting space in client id i.e. client id is prefixed by some spaces

In another javascript function on the same page, it is giving correct client
id

Any idea
 

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

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top