Remove using Jquery -


मैंने बयान का उपयोग करके एक चित्र जोड़ा है

  $ (this)। Parent () .siblings () बच्चों ('# नियंत्रण)। इससे पहले ("& lt; img src =' .. / cx.gif '/ & gt;");  

एक अन्य बटन पर क्लिक करने पर मैं एडेडेड छवि को हटाना चाहता हूं।

इसे कैसे करें I मदद की ज़रूरत है।

मैंने इसका परीक्षण नहीं किया है, लेकिन मुझे पिछला () फ़ंक्शन का पता है, इसलिए मान लें कि आप उस छवि को एक से अधिक बार शामिल नहीं कर सकते हैं, शायद कोशिश करें:

  $ (this)। Parent ()। भाई बहन ()। ('# Control')। निकालें ()  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -