Questions tagged as 'javascript'

1
answer

Open program via link

I need to access telnet devices (switchs and routers) that are displayed in a listing. The idea was that by clicking on the name of the network asset, open TeraTerm, or putty to connect to the device. Remembering that the program is alread...
asked by 09.12.2014 / 18:16
1
answer

Filter by multidimensional objects with underscore.js

How do I filter objects by attribute operations inside json? var data = Object entrada_diff: "00:00:00" entrada_hoje: "00:00:00" entrada_jornada: "08:00:00" entrada_status: "PENDENTE" funcionario_cpf: "06547457656" funcionario_cracha: "10703"...
asked by 09.12.2014 / 21:15
1
answer

Querying information from a website

I need to check out link and get the value that is in meta name="member_count" content="53" in this case 53 Try to see if I can explain myself better. I want to make a JS that can get the number of members of the link that I poste...
asked by 16.12.2014 / 11:57
1
answer

Get value of 2 select, and display the data of each [closed]

I'm putting together a page where the person could compare 2 products. I have 2 tables, categories and products. The 1st comboBox makes a select in the category table. When you choose a category, it calls a file that sees which products be...
asked by 31.12.2014 / 17:28
1
answer

Ajax query to display multiple content

At the moment I have some banners that are loaded via ajax, and each one makes a request to load the html. Now I am trying to optimize these processes and I have decided to make a single request to load as many banners as are available on the pa...
asked by 06.12.2014 / 06:13
1
answer

dataTables aoColumnDefs mRender

What would be the right way to do this: var oTable1 = $('#tabela-agenda').dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": "cadastroCarregaRegistros.php", aoColumnDefs: [ { "aTargets": [...
asked by 04.12.2014 / 23:26
1
answer

typescript + type definition file (.d.ts) + enum (enum)

I'm trying to create a definition file that uses an enumerator, defined in another file, and a declared variable (declare var) in the .d.ts file, but when referencing this file in another implementation, it says that variable does not exist....
asked by 05.12.2014 / 12:15
1
answer

how to get an id of a model in a view through a link?

I have a link that calls a function JS (POPUP), in this popup I have a registration form, to validate all the parameters of my form, I need to obtain the ID of the My Model that is in the view of the Link I am not able to obtain this ID for inse...
asked by 23.12.2014 / 14:31
1
answer

Organize date received and change, jquery

I get two server divs like this: <div id="1"></div> <div id="2"></div>
asked by 02.01.2015 / 23:00
1
answer

Polymer - Assign a default value for a content tag

I'm creating a Polymer element with this structure: <template> <style> ... </style> <div class="card-header" layout horizontal center> <content select="img"></content> &l...
asked by 07.01.2015 / 21:45