Removing two closest table rows with jQuery -


  $ ('तालिका # आइटम')। पर ('क्लिक करें', 'tr input # delItem', फ़ंक्शन (ई) {$ (यह) .clostest ('tr')। निकालें ();});   

हाय सब कृपया मुझे बताएं, एक के बजाय दो तालिका पंक्तियों को निकालने का सही समाधान क्या है? धन्यवाद

निम्न कोड निकटतम पंक्ति से अगली और पिछली पंक्ति को निकाल देगा।

  $ ('तालिका # आइटम')। .clostest ('tr'); closestRow.add (closestRow.prev ()) जोड़ें। (निकटतम। रो।) ())। निकालें ();});    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -