Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Javascript variable value in code behind
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01409464
Message ID:
01409466
Vues:
36
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform