单项选择题
A.$("#ref").filter("a[href]").bold();
B.$("ref").filter("a").css("bold");
C.$("a").css({fontWeight:"bold"});
D.$("#ref a[href]").css({fontWeight:"bold"});
单项选择题 You create a Web page that contains the following image element. You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?()
单项选择题 You create a Web page that contains drop-down menus that are defined by using div tags in the following code. You need to write a JavaScript function that will enable the drop-down menus to activate when the user positions the mouse over the menu title. Which code segment should you use?()
单项选择题 YouareimplementingaWebpagethatdisplaystextthatwastypedbyauser.YouneedtodisplaytheuserinputintheWebpagesothatacross-sitescriptingattackwillbeprevented.Whatshouldyoudo?()