c# waiting for a javascript event to finish
<p>what i like to do is this: in a button object in asp.net c# I want to read some hidden fields filled by javascript with client browsers data.
the function in js if fire when the client push the button but sometimes when in c# I'm reading the hidden fields the js hasn't finish yet so I get the hidden blank.
what I need to do is somehow start reading in c# when the js function is done.</p>

<p>thanks in advance, any idea would be helpfull</p>
