博文

目前显示的是标签为“remove”的博文

JQuery

Basic Syntax of JQuery: $(Selector).action() $: Indicates it is a jQuery. Selector: 3 types of name Id of an element (prefixed by # ). $(“#myButton”) - selects html element with id “ myButton ”. HTML element itself. $(“p”) - selects html paragraphs. CSS class (prefixed by . ( Period )) Etc. $(“.myclass”) - selects html elements which have their class ” myclass ”            //get the parent's the jQuery element.           var tblTmp =window.parent.$('#tt');           var data = window.parent.$.fn.panel.defaults.extractor(data);           var tmp = window.parent.$('<div></div>').html(data); Examples: $(":checkbox, :radio").click( showValues ) ; -for all <input type="checkbox" ...> and all < input type = "radio" ...> $("select").change( showValues ); -...