nikhilk / scriptsharp

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.
http://scriptsharp.com
Other
658 stars 182 forks source link

Get textbox value using Script# #415

Closed parthangshu closed 10 years ago

parthangshu commented 10 years ago

Hi,

I have generated one textbox for user to enter his/her name using Script#. Say the textbox id is txtName. Now I want get the text (text entered by users) of that textbox (txtName). Please guide me how can I get the textbox value/text. Thanks, Partha

michaelaird commented 10 years ago

Look at the sample application: https://github.com/nikhilk/scriptsharp/tree/master/samples/Todo/Todo

On Wed, Apr 2, 2014 at 6:17 AM, parthangshu notifications@github.comwrote:

Hi,

I have generated one textbox for user to enter his/her name using Script#. Say the textbox id is txtName. Now I want get the text (text entered by users) of that textbox (txtName). Please guide me how can I get the textbox value/text. Thanks, Partha

Reply to this email directly or view it on GitHubhttps://github.com/nikhilk/scriptsharp/issues/415 .

theoutlander commented 10 years ago

A couple of tutorials that might be helpful:

https://github.com/nikhilk/scriptsharp/wiki/Creating-your-first-HTML5-Application:-Hello-World https://github.com/nikhilk/scriptsharp/wiki/Building-a-spreadsheet-in-Script%23-using-HTML5

nikhilk commented 10 years ago

See comment on previous question - the general idea is if you know how to do it in script, it should hopefully be a direct or trivial mapping to the script# equivalent.