views:

38

answers:

1

I have a website that my company hosted using hubspot.. now the guy who made it is gone..

Currently all the code is in the front end which i think was made by using the CMS tool of hubspot.

What i need to do is add another page to this website which has my code and also has a backend code in it.

Plese help me how do i proceed.. i am currently working with asp.net and C#...

So please tell me which language i should chose to do the backend coding.. the code i plan to write is not that complex.. i just need to get a value for the user using a textbox, multiply with a number and display/email it back.

+1  A: 

Hi - your requirements sound quite simple - I would try and maintain an approach which is consistent with the existing architecture - ie client-side HTML/javascript (by the sound of it). You don't really need to use ASP.NET to capture user input and display it in the way you describe. You could do that just with a few lines of Javascript. Emailing might be a bit more complicated. The simplest approach would be to use a mailto link.

jules
is there a sample u kno where i enter a number and multiply by number and display it??.. any help is appreciated.. thanks
something like alert(document.getElementById('TextBoxId').value * x); you would put this in the client-side click event of a button. This website is a good intro to Javascript programming: http://www.w3schools.com/web/web_javascript.asp
jules
this might be useful as well: http://functionx.com/javascript/Lesson04.htm
jules
Thank you so much... ill work on this right away....
np - let me know if you need any more help
jules