Questions tagged as 'javascript'

1
answer

Identify all links in a website and change it with java script

You can create a script, to identify all the links of a site and modify them later, ie add the code in footer.php and so it changes the links. It would look like this: ANTIQUE LINK : link CHANGE AUTOMATICALLY FOR : link Can you do...
asked by 25.06.2018 / 04:01
2
answers

Error creating form with entity framework

An error is occurring that I can not identify I know that the BeginForm in the Create.html of the entity framework, has some send options to do overload, one of them is the one I'm using, whose request, ActionName, ControllerName, FormMethod...
asked by 15.02.2018 / 16:35
1
answer

Variable php in meta tag [closed]

This is the following, I have an audio player in html5 and javascript, when I try to share a song in the face for example, the post will not with the audio title but only with the title of the page, my question is how can I do so that when shari...
asked by 16.02.2018 / 03:09
1
answer

Why use StyleSheet.create?

Why use StyleSheet.create ? When starting a new project ( react-native init test , the project comes with style as follows. const styles = StyleSheet.create({ container: { }, welcome: { fontSize: 20, textAlign...
asked by 16.02.2018 / 15:30
1
answer

Image transition error Slide in JQuery

I'm setting up a website and the image slide is not working .. the image stays static. What can it be? <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="viewport" content...
asked by 16.02.2018 / 01:14
1
answer

Pass value from a getJSON to a variable

I have the following code: $('#aprovados').click( function(){ var job = $.getJSON($(this).attr("data-ajax-info-job"), function(jobinfo){ return jobinfo } ); console.log(job) }); The idea was to return my json data tha...
asked by 17.03.2018 / 00:04
1
answer

Name of the dynamic attribute in Post Jquery

How can I use the variable data type as the title / name of the attribute that will be passed in POST? The type is dynamic because it is actually the name of the column in the database. $('body').on('click', '.setCompany', function(e){...
asked by 16.03.2018 / 14:30
2
answers

Use two functions in the same Javascript [closed]

I will try to be as clear as possible so that you can understand me and help, I have javascript following. function labelthumbs(e) { document.write('<ul id="test">'); } It uses the function labelthumbs and I would like t...
asked by 16.03.2018 / 16:12
2
answers

Why is h1 tag not generating a new line?

$scope.html = [{ "name": "teste", "data": [{ "tag": { "name": "h1", "text": "Titulo 1", "colValue": "" } }, { "tag": { "na...
asked by 16.03.2018 / 19:40
1
answer

doubts with json / array nesting

I have this json { "MedPaciente": [ { "ProdutoModel": { "LaboratorioModel": { "id_laboratorio": 7951, "nome": "BOEHRINGER INGELHEIM", "data_cad": "28/12/2017",...
asked by 17.02.2018 / 17:48