parameter

  • Thread starter Thread starter cedced
  • Start date Start date
C

cedced

Hello,
How use a variable Javascript in a fonction VB.NET?
(Variable Javascript is executed in page_load but fonction VB.NET is
executed in asp button on_click)
IS it possible?
Thanks you.
 
JavaScript is client-side. That is, JavaScript variables do not exist on the
server. So I don't understand what you mean by "Variable JavaScript is
executed in page_load". If you want to get a value from a JavaScript
variable that was set on the client from an event handler on the server,
you're going to have to pass it back to the server. You could put it into a
hidden form field, or you could put it into a Cookie.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 
Back
Top