Questions tagged as 'javascript'

1
answer

Reduce the js code and the number of requests [closed]

How can I compress this code in only one, to reduce the number of requests and reduce the js code? //<![CDATA[ $(document).ready(function(){ $('.combobox').combobox() }); //]]> //----------------> SCROLL FILT...
asked by 13.05.2015 / 20:05
1
answer

How do I show more posts when I click the button?

In the loop I put it to show 12 Woocommerce products. <div id="vitrine" class="container-fluid"> <?php $args = array( 'post_type' => 'product', 'posts_per_page' => 12...
asked by 06.02.2015 / 19:31
1
answer

get_meta_tags does not work

I made a script in JavaScript and PHP, in which I need to get the first keyword It does not help to use document.referrer which does not work in my case, because the page you are running is within an iframe , so it does not work....
asked by 07.02.2015 / 15:09
1
answer

How to retrieve the ID of the selected element in asp: Repeater via javascript?

I have a asp:Repeater and need to retrieve in javascript the ID of the item referring to the record displayed in asp:Repeater . See how my asp:Repeater <asp:Repeater ID="rpt" runat="server" OnItemDataBound="rpt_On...
asked by 19.01.2015 / 16:44
1
answer

Remove URL parameter with JavaScript

I'm creating a feature for a system and I came across the need to manipulate URL parameters, so I would like to know how to delete a certain parameter from the URL? Here's a clearer example: http://site.com.br?c=cliente&a=editar&id=...
asked by 22.01.2015 / 22:54
1
answer

Signing documents with digital certificate using php or js

I need to develop a code (JS or PHP) where after uploading a PDF file it is automatically signed by a digital certificate model A1 that is already allocated on the server.     
asked by 20.01.2015 / 21:43
1
answer

Adapt function to queryselectorall

I'm trying to adapt a function that used to be used only with QuerySelector, but I need to adapt it to get all the divs (QuerySelectorAll). See: var draggableEl = document.querySelectorAll('[data-drag]') The function function move(even...
asked by 22.01.2015 / 22:06
1
answer

Match fraction number javascript

I have a script and in one of the lines: return $flag.text().match(/[0-9 ]+(?=\%)/i); read the numbers of a tag p . Ex: <p>Desconto 15%</p> In case it will read the number 15. From what I know this line does...
asked by 22.01.2015 / 12:52
1
answer

Image link with JavaScript does not work

Ok, I know there are thousands of ways to do this (better and easier) but I just like to make it work. I am passing the images through JS and would like to assign the link of the same, however, it does not work ... The console does not return an...
asked by 11.04.2015 / 23:09
2
answers

How to change the format of the day in javascript?

Good person, the scene is that I have here the script that makes when making a reservation, you can not select the day of yesterday, and such, .. but when I go to see the date appears in the format MM-DD-YYYY , and I do not know how to mak...
asked by 01.06.2015 / 21:06