Problems with dynamic buttons

Discussion in 'Software' started by sconnor, Mar 31, 2005.

  1. sconnor

    sconnor Private E-2

    I created a dynamic button:

    response.write("<input type=button name=CheckAll onClick=checkall(1)>")

    The button is created but when I click on it I get the following warning - error on page.

    My checkall function is set up like

    Function checkall(ByVal buttonnumber)
    Label7.Text = buttonnumber
    End Function

    Could someone help with with my onClick command?
     
  2. sconnor

    sconnor Private E-2

    ok I figured it out

    onClick=('" & checkall(1) & "')
     
  3. sconnor

    sconnor Private E-2

    I lied that didn't work it
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds