Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: onclick server


Message #1 by moulot@k... on Fri, 22 Dec 2000 10:10:49 +0100
hi everyone,

i have an input type=image and i would like to use the onclick method

but the function must be run at the server.

could somebody help me please.

there is an exemple in the help but it provides just the function:



Sub mybutton_onclick()

   If checkbox1.getChecked() then

      checkbox1.setChecked(0)

   Else

      checkbox1.setChecked(1)

   End if

End Sub



thanks, Georges





---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by "Ken Schaefer" <ken@a...> on Sat, 23 Dec 2000 20:40:30 +1100
Can't be done without issuing a new page request.

Once a page has been sent to the client the server knows nothing about it.

To start the server doing something again you need to issue a new request

for a page.



Cheers

Ken



----- Original Message -----

From: "Georges Moulot" <moulot@k...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Saturday, December 23, 2000 5:31 AM

Subject: [asp_web_howto] onclick server





> hi everyone,

> i have an input type=image and i would like to use the onclick method

> but the function must be run at the server.

> could somebody help me please.

> there is an exemple in the help but it provides just the function:

>

> Sub mybutton_onclick()

>    If checkbox1.getChecked() then

>       checkbox1.setChecked(0)

>    Else

>       checkbox1.setChecked(1)

>    End if

> End Sub

>

> thanks, Georges







---

MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.

---

You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com


  Return to Index