How to call javascript/JQuery function from .cs file C# 
<p>I'm working on asp.net (C#) project which include some page files (aspx, aspx.cs) and some only (.cs) file. I'm able to access javascript/jquery function from page files (aspx, aspx.cs) using scriptregister. but my question is how to access the javascript/jquery function from alone (.cs) file. I'm generating some html tage in (.cs) file therefore in need of to call javascript/jquery function from only (.cs) class.</p>

<p>The file i have are(forexample) 
Default.aspx
Default.aspx.cs</p>

<p>And Web.cs (My concern is to call javascript/jquery function from web.cs)</p>

<p>Actually, What I'm trying to do is to generate some HTML code in Web.cs (Business Object) and while generating HTML code in web.cs i need some other dynamic HTML code generated by jQuery function which output is  my concern : var output ="My HTML Code Generated by jquer y functoin" </p>

<p>Now i need the above jquery output to merger with Web.cs HTML code generating.</p>

<p>Kindly let me know how can it be possible to call jquery function from web.cs and get back the result from jquery to web.cs in order to merger? </p>

<p>Thanks</p>
