How to AutoSubmit Javascript button from C# behind? Please help!


I will try to make my question as simple as possible.

How can I submit the following button from C# Behind in ASP.NET?

(Note: The following button uses 2 Session Variables that contain information about a selected product and then passes those values to an external Javascript which is my shopping cart - so to summarize this button adds the product to an external shopping cart. I don't wish to manually press it but to automatically press it when an Argument in my C# code is TRUE):

' class="product-title" type="hidden">
' class="product-price" type="hidden" >

...the external Javascript

What I want to do is automatically call this Javascript from C# behind

Please I need this urgently, any help will be very much appreciated.

Thank you
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!