Jump to content

.js code some mistake

Recommended Posts

hello mate, can check this.. i make this code but here i am doing some mistake but can not understand where. anyone can help me?

r=a.replace(/\./g,"-");o.addClass("clone").find("span.domain").html(n.sld).end().find("span.extension").html("."+a).end().find("span.flagext").html('<i class="flag flag-'+r+'"></i>').end(),
r=i.replace(/\./g,"-");o.addClass("clone").find("span.domain").html(n.sld).end().find("span.extension").html("."+i).end().find("span.flagext").html('<i class="flag flag-'+r+'"></i>').end()


Share this post

Link to post
Share on other sites

Hey there! You may want to elaborate a bit more on what this code is supposed to do, and what it is currently doing (that makes it "broken"). The more details you provide, the better chances someone will be able to assist you 🙂

Share this post

Link to post
Share on other sites

actually i want give flag before domain suggestion name details below link... but problem is when i make this js code then add to cart button not works there showing contact to support. here i do some mistake for that.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated