Questions tagged as 'javascript'

1
answer

Modal person-search returns nothing when changing page Javascript [closed]

GoodmorningI'musingapagedmodalwithdatatable,andwhenIsearchorchangepagethefunctiontoaddthepersononthemainpage.JavascriptFunction$(function(){$('.add').click(function(e){e.preventDefault();varvId=$(this).parent().parent().find("#id").text();...
asked by 09.11.2018 / 11:05
2
answers

How can I create a stream from a video that is on the server?

As the title itself already says, I need to create a live streaming of a video from the server, or from youtube or something like that, can anyone give me a hint how can I start? I searched a lot, and everywhere I looked I only found help / tuto...
asked by 29.07.2014 / 23:08
1
answer

How to use jquery after () in javascript?

How do I make javascript the same equivalent function in jquery after? I want to add one div right after another, so <div id="div1"></div> <div id="div2"></div> <!-- div 2 adicionada via javascript após a divi1 --...
asked by 27.10.2018 / 14:22
1
answer

JSON error. My code can not read JSON

I should create a page that shows a catalog of albums provided in xml. From there I have to transform the catalog.xml into JSON and show it in a table with artist and with Title. The problem is that my code does not read the document because it...
asked by 01.11.2018 / 22:47
1
answer

Verify if dynamic table is with data

I have a table that I fill in this way below, I would like to know how I can check if I have data in it. $("#tablepesquisaprodutos").append("<tr class='item'>" + "<td>" + "<input type='checkbox' class='link...
asked by 31.10.2018 / 21:22
2
answers

Change text to icon according to text

<div class="modeloProduto"> <p>Massa Muscular</p>" </div> I do not handle a lot of site programming but I'm making a website with what I know, I wanted a script that changes the "Muscle Mass" to an icon Type like thi...
asked by 28.10.2018 / 16:19
1
answer

How to manipulate coordinates of a html page freely

How can I get the coordinates of a page HTML and from these coordinates set a target / delimit (red square) dynamically (where I only change positions) In this context it would be NOT to use the measures of a DIV , but to have...
asked by 01.11.2018 / 14:56
2
answers

Validate all required data fields on tab

I'm using bootstrap tabs and I use dataannotations to include required . But it does not validate all fields, I need it to validate the required, and if it is not validated, it select this tab . I tried to locate the fields,...
asked by 26.10.2018 / 14:07
1
answer

$ .post runs twice

I made a code in javaScript in which I make requests in php and with the return of a json I populate my html, the problem is that at some point I need to execute the javaScript code but I can not make it stop, $ .post is triggered at the click o...
asked by 26.10.2018 / 01:53
1
answer

Doubt to get the name of an input field automatically generated by php

I have a legacy php system that generates the input radios, and the names of these fields are dynamic, such as the $ row object. And now I need to get the values of the radios fields and their respective names so that they are saved in the bank...
asked by 23.10.2018 / 16:16