Valid 70-480 Dumps shared by ExamDiscuss.com for Helping Passing 70-480 Exam! ExamDiscuss.com now offer the newest 70-480 exam dumps, the ExamDiscuss.com 70-480 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-480 dumps with Test Engine here:
You are creating a page that contains detailed employee information for a company portal. The page uses a jQuery library. The page contains a hidden button named btnEdit that is defined by the following code. <button id="btnEdit" style="display: none;>Edit</button> The button is not displayed by default. The button must be displayed only if the user is logged on. You need to add code to the document.ready() function to meet the requirements for the button. Which line of code should you use?
Correct Answer: C
Explanation/Reference: With jQuery, you can hide and show HTML elements with the hide() and show() methods: Example $("#hide").click(function(){ $("p").hide(); }); $("#show").click(function(){ $("p").show(); }); Reference: jQuery Effects - Hide and Show