http://www.tutorialspoint.com

jquery select 选中值  时间:2021-02-27  阅读:()
Copyrighttutorialspoint.
comJQUERYMOCKTESTJQUERYMOCKTESTThissectionpresentsyouvarioussetofMockTestsrelatedtojQueryFramework.
Youcandownloadthesesamplemocktestsatyourlocalmachineandsolveofflineatyourconvenience.
Everymocktestissuppliedwithamocktestkeytoletyouverifythefinalscoreandgradeyourself.
JQUERYMOCKTESTIIJQUERYMOCKTESTIIQ1-WhichofthefollowingiscorrectaboutjQueryselectorA-AjQuerySelectorisafunctionwhichmakesuseofexpressionstofindoutmatchingelementsfromaDOMbasedonthegivencriteria.
B-jQueryselectorsareusedtoselectoneormoreHTMLelementsusingjQuery.
C-jQueryselectorsstartwiththedollarsignandparentheses-$()D-Alloftheabove.
Q2-WhichofthefollowingjQueryselectorselectselementswiththegivenelementtag-nameA-$('tag-name')B-$('#tag-name')C-$('.
tag-name')D-Noneoftheabove.
Q3-WhichofthefollowingjQueryselectorselectselementwiththegivenelementidsome-idA-$('some-id')B-$('#some-id')C-$('.
some-id')D-Noneoftheabove.
Q4-WhichofthefollowingjQueryselectorselectelementswhosecssclassissome-classA-$('some-class')B-$('#some-class')C-$('.
some-class')D-Noneoftheabove.
Q5-WhichofthefollowingjQueryselectorselectsallelementsavailableinaDOMA-$('*')B-$('')C-$('#')D-Noneoftheabove.
Q6-WhichofthefollowingjQuerymethodgetsattributesofanelementA-attrB-getAttrC-getAttributesD-Noneoftheabove.
Q7-WhichofthefollowingjQuerymethodsetsattributesofanelementA-attrname,valueB-setAttrname,valueC-setAttributesname,valueD-Noneoftheabove.
Q8-WhichofthefollowingjQuerymethodapplyastyleonanelementA-addStyleclassesB-addClassclassesC-addCSSClassclassesD-Noneoftheabove.
Q9-WhichofthefollowingjQuerymethodremovesanattributefromeachofthematchedelementsA-deleteAttrnameB-removeAttrnameC-removeAttributenameD-Noneoftheabove.
Q10-WhichofthefollowingjQuerymethodreturnstrueifthespecifiedclassispresentonatleastoneofthesetofmatchedelementsA-hasCSSClassclassB-hasStyleClassclassC-hasClassclassD-Noneoftheabove.
Q11-WhichofthefollowingjQuerymethodremoveallorthespecifiedclassesfromthesetofmatchedelementsA-removeClassclassB-removeStyleClassclassC-removeCSSClassclassD-Noneoftheabove.
Q12-WhichofthefollowingjQuerymethodaddsthespecifiedclassifitisnotpresent,removethespecifiedclassifitispresentA-toggleStyleClassclassB-toggleClassclassC-toggleCSSClassclassD-Noneoftheabove.
Q13-WhichofthefollowingjQuerymethodgetsthehtmlcontentsinnerHTMLofthefirstmatchedelementA-htmlB-getHtmlC-getInnerHtmlD-Noneoftheabove.
Q14-WhichofthefollowingjQuerymethodsetsthehtmlcontentsofanelementA-htmlvalB-setHtmlvalC-setInnerHtmlvalD-Noneoftheabove.
Q15-WhichofthefollowingjQuerymethodgetthetextcontentsofanelementA-textB-getTextC-getContentD-Noneoftheabove.
Q16-WhichofthefollowingjQuerymethodsetsthetextofanelementA-textvalB-setTextvalC-setContentvalD-Noneoftheabove.
Q17-WhichofthefollowingjQuerymethodgettheinputvalueofanelementA-getContentB-valC-getValueD-Noneoftheabove.
Q18-WhichofthefollowingjQuerymethodsetthevalueofanelementA-setContentvalB-valvalC-setValuevalD-Noneoftheabove.
Q19-WhichofthefollowingjQuerymethodfilteroutelementsfromasetofmatchedelementsA-filterselectorB-setFilterselectorC-putFilterselectorD-Noneoftheabove.
Q20-WhichofthefollowingjQuerymethodreducethesetofmatchedelementstoasingleelementA-isEqualindexB-eqindexC-checkEqualselectorD-Noneoftheabove.
Q21-WhichofthefollowingjQuerymethodchecksthecurrentselectionagainstanexpressionA-getIsselectorB-isselectorC-checkIsselectorD-Noneoftheabove.
Q22-WhichofthefollowingjQuerymethodremoveselementsmatchingthespecifiedselectorfromthesetofmatchedelementsA-getNotEqualsselectorB-isNotEqualsselectorC-notselectorD-Noneoftheabove.
Q23-WhichofthefollowingjQuerymethodselectsasubsetofthematchedelementsA-subsetselectorB-getSubsetselectorC-sliceselectorD-Noneoftheabove.
Q24-WhichofthefollowingjQuerymethodaddsmoreelements,matchedbythegivenselector,tothesetofmatchedelementsA-addselectorB-addElementselectorC-appendselectorD-Noneoftheabove.
Q25-WhichofthefollowingjQuerymethodaddsthepreviousselectiontothecurrentselectionA-addselectorB-andSelfC-appendselectorD-Noneoftheabove.
ANSWERSHEETANSWERSHEETQuestionNumberAnswerKey1D2A3B4C5A6A7A8B9B10C11A12B13A14A15A16A17B18B19A20B21B22C23C24A25BProcessingmath:100%

RAKsmart 黑色星期五云服务器七折优惠 站群服务器首月半价

一年一度的黑色星期五和网络星期一活动陆续到来,看到各大服务商都有发布促销活动。同时RAKsmart商家我们也是比较熟悉的,这次是继双十一活动之后的促销活动。在活动产品中基本上沿袭双11的活动策略,比如有提供云服务器七折优惠,站群服务器首月半价、还有新人赠送红包等活动。如果我们有需要RAKsmart商家VPS、云服务器、独立服务器等产品的可以看看他们家的活动。这次活动截止到11月30日。第一、限时限...

数脉科技:阿里云香港CN2线路服务器;E3-1230v2/16G/240G SSD/10Mbps/3IP,月付374元

数脉科技怎么样?昨天看到数脉科技发布了7月优惠,如果你想购买香港服务器,可以看看他家的产品,性价比还是非常高的。数脉科技对香港自营机房的香港服务器进行超低价促销,可选择10M、30M的优质bgp网络。目前商家有优质BGP、CN2、阿里云线路,国内用户用来做站非常不错,目前E3/16GB阿里云CN2线路的套餐有一个立减400元的优惠,有需要的朋友可以看看。点击进入:数脉科技商家官方网站香港特价阿里云...

Linode十八周年及未来展望

这两天Linode发布了十八周年的博文和邮件,回顾了过去取得的成绩和对未来的展望。作为一家运营18年的VPS主机商,Linode无疑是有一些可取之处的,商家提供基于KVM架构的VPS主机,支持随时删除(按小时计费),可选包括美国、英国、新加坡、日本、印度、加拿大、德国等全球十多个数据中心,所有机器提供高出入网带宽,最低仅$5/月($0.0075/小时)。This month marks Linod...

jquery select 选中值为你推荐
ptrC++~*ptr是什么?拂晓雅阁有什么网站是学电脑技术的`?不兼容vivo手机和软件不兼容怎么办?2012年正月十五山西省太原市2012年正月十五活动的相关情况二层交换机集线器和二层交换机,三层交换机的区别gbk编码表gbk内码表怎么看如何清理ie缓存怎么清除IE缓存.微信电话本怎么用如何启用微信通讯录声母是什么声母.韵母有哪些网站地图制作网站地图 怎么制作?
winhost 韩国空间 创宇云 警告本网站 个人空间申请 免空 微信收钱 vip购优汇 流量计费 qq云端 万网空间管理 阿里云官方网站 web应用服务器 工信部icp备案查询 免备案cdn加速 免费主页空间 SmartAXMT800 沈阳idc restart godaddy域名 更多