JQuery Easy UI LinkButton component, jquerylinkbutton
LinkButton component, one of the basic components of easyui
Example:
<! DOCTYPE html> Execution result:
Ps: You can change the button style in css or customize it.
Click to download source code
How can I change the background of the linkbutton in jquery easyui?
Hello!
In easyui, the background of the linkbutton is implemented using background-image: url ('images/linkbutton_bg.png ');. Therefore, if you need to change the background, you only need to make an image, just replace it !!
Use jquery to directly change the content on the page, such as the text of the linkbutton. How can I make the object remain a linkbutton after the change?
No. Controls on the server. When it is displayed on the client, it is converted to the corresponding control on the client. On the client side, you only need to know the id or style name. You can select this control and use it directly (the id and style will not change if they are set on the server side ).
For example:
When you write the code, there is a <asp: LinkButton ID = "LinkButton1" runat = "server"> LinkButton </asp>
When writing jquery, you can directly $ ("# LinkButton1"). text ("I am actually a tag"). Change the text of this LinkButton.