Posts by Julio Santos • 420 points
16 posts
-
0
votes0
answers120
viewsQ: Modal cookie doesn’t work?
I built the following code so that it would preserve a cookie from opening and closing the modal, so that it would not be displayed in a 24-hour period, but it does not work for some reason that I…
-
2
votes2
answers81
viewsA: If I call a Javascript file, is that code visible in the browser (browser)?
Hello @Amadeuantunes it will not be shown in the code, but who can see the directory (link) where the file is, will be able to see the code.
-
1
votes0
answers91
viewsQ: Search link construction, combining select?
I am having a small problem with building a search filter for my site. Anyway, I need a filter that shows options that are related to the previous select example:…
-
1
votes1
answer111
viewsA: What could stop a FOR? (javascript)
I was able to solve the problem of my code as follows: "undefined" != typeof jQuery && jQuery(".flag").each(function() { var e = jQuery(this); if (e.is(':contains(",")') ||…
-
3
votes1
answer64
viewsQ: Link select not working?
Hello folks good afternoon! I have the following code, that I need to form a link at the end, and display the filtered page to the client, but the link always falls on the first ID, which in case is…
-
-1
votes1
answer111
viewsQ: What could stop a FOR? (javascript)
I am having a problem in a script, the same stops in a FOR and does not execute the rest of i. In the case it is on that line: for (i = 1; i < ultimoId;i++) { line 43 if you are looking at any…
-
0
votes1
answer401
viewsQ: Turning INPUT into Dropdown Items?
How can I turn inputs into a droplist menu, via jQuery? My code: <li class="select skuList item-dimension-Tamanho"> <span class="group_0"> <input name="293_Tamanho"…
-
6
votes2
answers1716
viewsA: Displays items as selected from a select (HTML)
Hello @Fred could try otherwise using only HTML and JS That way (I don’t know if it would solve your problem): var arr_cidades = { sp: ["Sorocaba", "Boituva", "Tatuí"], rj: ["Uma cidade do Rio",…
-
8
votes3
answers1426
viewsQ: How to take data from a tag and calculate?
It is possible I get a value within a tag <span></span>? Ex: <span> 5% </span> and calculate a discount at a value? Example: I want to get the value of 5% that is in the tag…
-
-1
votes1
answer51
viewsQ: Combo box considering the previous choice
I have a question about how to do a related combo box in the previous input choice, for example: If I choose SP I will have three options in the list Sorocaba, Boituva, Tatuí But keep mounting the…
-
3
votes1
answer70
viewsQ: By creating a search link?
I have a problem in a project, there are 3 product search fields and a search button. example: https://jsfiddle.net/juliomoreira666/u3ss4uye/ He wanted that as the fields were being filled, the…
-
3
votes1
answer1029
viewsQ: Iframe link opening in new tab?
There is the possibility when the person clicks on a link in a iframe, this link opens in another tab? I don’t have control of the HTML of the other page, so I can’t put the _blank at the link by…
-
-1
votes1
answer114
viewsQ: Preserve the value of a regressive contactor with Javascript?
I have a problem with a countdown. The counter works with the time I put in it, but when the customer updates the page, the counter goes back to the initial time. Is there any possibility of…
-
2
votes2
answers489
viewsQ: Making replace or append in a <p>?
I was trying to make a append or replace in jQuery of an HTML, but I am not succeeding in it. It replaces only one of the <p> containing the class .frete-gratis but I wanted to replace them…
-
0
votes2
answers664
viewsA: HTML5 Video Autoplay in mobile browsers
If the video is on a banner on the page, you can try to put it in the second transition, that is to force the user to click on the next banner to be able to view the video, so it will be a request…
-
0
votes3
answers139
viewsQ: Exchanging link as input text
I need to create a input text that, as I enter a quantity, it changes the link of a button, but only a part of the link. For example, I have this link:…