Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing variable from javascript

Status
Not open for further replies.

jmk418

MIS
May 24, 2004
99
0
0
US
hi all
im posting this here but not sure if this is the right place
does anyone know how to pass a value from the client in javascript back to the server using vb.net code
what i want to do is get the screen resolution from the client computer which i can do but i want to be able to save it in a variable so that i can have an object on the asp page resize to fit the users browser
thanks
 
Use an HTML Hidden control and run it as a Server Control (Right click on it and select 'Run as server control'. Then you can get the Value of it in the VB Code when you post back.

Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top