How to Create anchor tag using jquery/ Jquery का उपयोग करके एंकर टैग कैसे बनाएं

How to Create anchor tag using jquery/ Jquery का उपयोग करके एंकर टैग कैसे बनाएं

How to Create anchor tag using jquery


Using Following Code we are create anchor tag:/ निम्नलिखित कोड का उपयोग करके हम एंकर टैग बना रहे हैं:

 jQuery(document).ready( function( $ ) {

$('.cls').html('<a href="#">Read More</a>');

} );

.cls is the name of the class 

Jquery nth:childe Selector

jQuery(document).ready( function( $ ) {
$('.single-advisor-box:first-child .advisor-content .social-link').html('<a href="#">Read More</a>');
$('.single-advisor-box:nth-child(2) .advisor-content .social-link').html('<a href="#">Read More</a>');
} );

Previous
Next Post »

Please do not entering spam link in the comment box ConversionConversion EmoticonEmoticon