I have heard of the frontend function of _ dopostback, which is mainly used for the PostBack of Web controls,
It sends control information to the server through two hidden controls _ eventtraget ,__ eventargument,
_ Eventtraget is the name of the control to be called. If the control to be called is a child control, use ''$ 'or': 'To separate the parent control: Child control,
_ Eventargument is the parameter used to call an event,
But it has never been used. Xunzi said: "Do not know what to do ". Writing todayCodeSo I tried it.
_ Dopostback is the simplest way to use it:
1. Draw a widget on the page that can generate the _ dopostback function. (Not all Web controls use _ dopostback to generate event sending.) I personally like to use linkbutton and set the text attribute to a null value. If the control is hidden, the _ dopostback function is not generated. 2. Write the Control ID that you want to trigger the PostBack event to the following function calls: _ dopostback ('imgmap ',''); here imgmap is the control for sending back. 3. Now you can call _ dopostback ('imgmap', '') in a foreground event. 4. write code in the background imgmap_click event.