Questions tagged as 'vtex'

3
answers

How to get data from a tag and calculate?

I have a jquery question. Is it possible for me to get a value inside a <span></span> tag that in this case would be an ex:%. 5% and make the calculation of a discount on a value? Example: Iwanttogetthe5%valuethatisinth...
asked by 15.09.2015 / 14:23
1
answer

Xml multiple elements

I am uploading a project to vtex, but when doing the update it has a multiple element error:    There are multiple root elements. Line 3, position 6. All the examples I saw did not serve me, can anyone help me? <!DOCTYPE html>...
asked by 10.10.2017 / 16:33
1
answer

Link of an Iframe opening in new tab?

Is there a possibility that when someone clicks on a link in an iframe this link opens in another tab? Note: I do not have control of the html of the other page, so I can not put Blank in the link, it's content that is updated weekly so I nee...
asked by 14.08.2015 / 22:46
2
answers

Doing replace or append on a p?

I was trying to make an append or replace in jquery from an HTML but I'm not succeeding at it, it replaces only one <p> that contains class .frete-gratis but wanted to replace all with iframe . Here is the cod...
asked by 15.07.2015 / 18:30
3
answers

Exchanging link as input text

I need to create a input of text that as I enter a quantity it changes the link of a button, but only a part of the link. Ex :. I have this link: link I want that whenever the person places 1,2,3,4 ... in the input it changes the va...
asked by 08.07.2015 / 14:29
1
answer

Turning INPUT into DropDown Items?

Good afternoon guys, I have a question, how would I use jquery to transform inputs into a droplist menu? Html is as follows: <li class="select skuList item-dimension-Tamanho"> <span class="group_0"> <input n...
asked by 16.09.2015 / 19:12
1
answer

Combo box considering the previous choice

Good morning, I have a question about how to do a combo box in the previous choice of input, for example: If you choose SP I will have three options in the list Sorocaba, Boituva, Tatuí More than still continue to mount the link as in the...
asked by 29.08.2015 / 16:30
1
answer

How to capture data to only feed a list with VTEX

I made this js code to get the data of the inputs (THIS PLEASURE OK THAT PART) from the page and send it to VTEX (NOT SENDING). It must be some detail that I've forgotten. I've done several js to capture the data, register in VTEX and then trigg...
asked by 11.11.2017 / 15:44
1
answer

Preserve the value of a javascript?

I have a problem with a countdown timer, it works with the time I put in it, but when the client refreshes the page the counter returns to the initial time, is there any possibility of preserving that value? follow the link: link     
asked by 16.07.2015 / 18:46
1
answer

How to round percentage? [closed]

I would need the function below in .asp, I have no idea of the language, can anyone help? I did this in javascript, below: function limparClasse(classe) { var elementos = document.querySelectorAll('.' + classe); for (var i = 0; i < el...
asked by 30.04.2014 / 17:54