Happy New Year 2Me jQ

STT Property Use Note 01 html() data data 02 text() data data 03 append() prepend() after() before() html or text = replace 03 = add 3-1, 32: text 3-3, 3-4: div, p, i Link 04 attr() get or set values for atributes Link 05 val() get and set the values of form fields: textboxes, dropdowns, and similar inputs. code in html: input with id=”name” and value=”Your Name” js: $(function() { $(“#name”).attr(‘value’, “I fixed my value”); var t =$(“#name”).val(); alert(t); });> 06 addClass() removeClass() toggleClass() add Class remove Class on if off/off if on Link 07 css() use JSON syntax Link … Continue reading Happy New Year 2Me jQ