call javascript function by c#
<p>I have a javascript function which I want to send to c#.</p>

<p>The c# function will then send that information to the fiscal printer.</p>

<p>The function will get elements id from html document.</p>

<p>The function looks like this </p>

<pre><code>function senddata(price)
{
  priceElem=document.getElemById("price");
}
</code></pre>

<p>I want to send data to c# function which will be printing. I have a file that is created by .net which I want to include in my c# function.</p>

<p>This .dll file will connect to the fiscal printer and c# function. The .dll will help in communicating between the program and the fiscal printer.
The html and javascript is retrieving this information in another program. 
I am using incotex fiscal printer. This c# program will be printing the receipt.
Someone out there please help.</p>

<p>Regards, 
masiela </p>
