Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Javascript variable value in code behind
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01409464
Message ID:
01409466
Views:
37
>Hi All,
>
>I used Paul Mrozowski's advice to use client side Javascript to obtain position of a cursor inside a text box.
>
>http://javascript.nwbox.com/cursor_position
>http://javascript.nwbox.com/cursor_position/cursor.js
>
>
>This works great but how can I use those Javascript values in code behind?
>
>Thank you,
>Daniel

I was thinking along the same lines as this blog suggests

http://www.codeasp.net/blogs/joydeep157/microsoft-net/81/accessing-javascript-variable-from-code-behind-and-accessing-code-behind-variable-from-javascript

but I don't like this solution. May be there is something better available.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform