I have a javascript function which I want to send to c#.
The c# function will then send that information to the fiscal printer.
The function will get elements id from html document.
The function looks like this
function senddata(price)
{
priceElem=document.getElemById("price");
}
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.
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.
Regards,
masiela
I’m not entirely clear how is your system set up so here is my assumption: You want to load some webpage (either locally or using URL) and communicate with that webpage using C# code. You might want to invoke a JavaScript function inside a webpage or you may want to listen to events in loaded webpage such as button click. All of these can be done by using Browser control. You can either create an instance of Browser control or use it in WinForms or WPF UI. I’m assuming your scenario is desktop app.