Dont' Show HTML Buttons when i convert them to pdf online
I have a webpage which include some buttons, when i convert the HTML page to pdf, th开发者_StackOverflow中文版e button also come in pdf... i dont want the buttons to be shown in the buttons
If you are printing to a PDF you can make a print stylesheet that goes something like
input[type="button"], input[type="submit"], input[type="reset"] {
display: none;
}
Can you maybe use jquery to do something like the following below when the link "Publish to pdf is clicked" before the whole javascript processing is done to convert the html to pdf:
$(link).click(function(){ $(this).css("display", "none"); });
NOTE: "link" above is the name of your link "Publish to pdf"
精彩评论