Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
F

ftbadolato

@ftbadolato
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using JavaScript to Change Server-Side TextBox
    F ftbadolato

    Sorry....textbox code did not post. no

    Visual Basic javascript help sysadmin

  • Using JavaScript to Change Server-Side TextBox
    F ftbadolato

    I have the following TextBox on my .aspx page. top: 632px" runat="server" Width="1px" Height="1px" ReadOnly="false">no The JavaScript from viewing the source is as follows. There is some JS above what you see here, but it is working fine. I also have a try...catch around all of this. The error that occurs is [object Error] and it occurs on the lines below when I attempt to set the value of the text box. The text box is on the page, but I am thinking it may have something to do with the runat="server" in the code above. I need that though b/c I check the field in my code-behind file as well. I need help on updating the value of this field via JavaScript. if(result == true){ document.getElementById('aspnetForm._ctl0_ContentP laceHolder1_hdnresultbox').value='yes'; }else{ document.getElementById('aspnetForm._ctl0_ContentP laceHolder1_hdnresultbox').value='no'; } return result;

    Visual Basic javascript help sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups