मैं jQuery के लिए बिल्कुल नया हूं। ईमानदार होने के लिए यह मेरा पहला कुछ दिन है।jQuery। टैग के बाहर भेजें
और मेरा पहला सवाल है।
$(document).ready(function() {
$('span.head-span').parent().addClass('head-h').append('<div class="clx" />')
});
नतीजतन मैं इस
<h1 class="head-h"><span class="head-span">This is Some Heading</span><div class="clx"/></h1>
क्या कर रहा jQuery में करने की ज़रूरत है तो मेरे .clx के बाद दिखाई देगा। इस
<h1 class="head-h"><span class="head-span">This is Some Heading</span></h1><div class="clx"/>
अग्रिम में बहुत बहुत धन्यवाद।
आपको एक को चिह्नित करना चाहिए n उत्तर के बगल में स्थित चेक पर क्लिक करके स्वीकार किया गया। – SLaks