Creating Controls with Javascript and getting to them from the server.

K

KJ

Maybe I did this wrong. I think I did but I built some textbox
controls using Javascript and I call the javascript function that
builts and adds the controls to the page when I click an htmlbutton on
my aspx page.

Now I have a problem. I can't access the controls after they are
added. I view the source and they are not there. Does anyone know how
to access them?


I have been searching around. I think I went about this the wrong way.
Can someone help me? Thanks
 
J

John Saunders

KJ said:
Maybe I did this wrong. I think I did but I built some textbox
controls using Javascript and I call the javascript function that
builts and adds the controls to the page when I click an htmlbutton on
my aspx page.

Now I have a problem. I can't access the controls after they are
added. I view the source and they are not there. Does anyone know how
to access them?


I have been searching around. I think I went about this the wrong way.
Can someone help me? Thanks

Why would they be in the source?

Did you look for them in the DOM?

Also, this isn't an ASP.NET Controls issue, so maybe you'd do better to post
this somewhere else.
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top