views:

4

answers:

0

I want to create a class object inside javascript that is on my aspx page. so i added a namepasce which has the following class but it is not allowing me to assign value to the property of the oject of class is there any other way to achieve this

<% DataPricingRequest ClientPricingRequestObject = new DataPricingRequest();
ClientPricingRequestObject.ID = document.getElementById('txtID').value ; %>