Questions tagged as 'jquery'

2
answers

JQuery does not find form

I'm using a form like this: <form name="mapping_marc" method="post" id="mapping_marc"> <?php foreach ($all_properties_id as $compound_name => $sub_properties) {?> <div class='form-group'>...
asked by 17.03.2017 / 13:50
1
answer

Select the current date in the DataPicker

Colleagues, How do I make the datePicker the current date be checked and change the previous dates that are disabled? See: Iwasabletodisablethepreviousdatesusingthecodebelow,buttheyturnblackandconfuseandthecurrentdateisnotmarked.<!--da...
asked by 18.06.2017 / 23:55
2
answers

Get value from the variable in the return of the function

$scope.fetchData = function (param) { var url = param; var thumb; var imgid = get_numbers(url); var hash = ("http://vimeo.com/api/v2/video/" + imgid + ".json"); $http({ method: 'GET', url: hash }).then(function success...
asked by 16.06.2017 / 18:31
2
answers

Change the position of a word in the text (Javascript)

I would like to change the position of a word within a given text using javascript. <form> <p> Este é o paragrafo, esta é <strong>palavra</strong> a ser movida </p> <span>Troque aqui a posicao da &...
asked by 29.01.2017 / 23:34
1
answer

Pass variable angularjs through function JS

I have a dynamic modal in Jquery that is called with onclick="ShowModal()" working. However, I want to send values coming from AngularJS and I can not. It sends the code AngularJS {{dado.idUser}} , but not the 01 value....
asked by 01.02.2017 / 17:58
2
answers

How to save data from a form automatically?

Hello, good evening, I need your help, I want to automatically save what is typed in a text area in my mysql database, I've heard that it has to do with Ajax, I tried with this code I have there, but is not working, data is not being saved....
asked by 18.03.2017 / 01:52
1
answer

json array with serialize javascript not working

I have this form: <form> <select name="data"> <option>0831</option> <option selected>4731</option> <option>9831</option> </select>...
asked by 05.02.2017 / 16:39
1
answer

Join two objects in one with conditional attributes in JavaScript

I have the following dilemma, I need to mount an object to send to a API rest . But I have data that starts from a variable. I thought of several ways to do this but I do not know which one is right, or if none of them is right. if (true...
asked by 06.02.2017 / 20:45
2
answers

How to pass the contents of a .txt file to a vector in JS? [closed]

I'm having this problem, I'd like to know what you suggest me to search for to solve it. I tried to use the .split, FileReader. It can be in Js, Jquery or Ajax. Any suggestions are welcome. I researched the subject but found nothing concrete abo...
asked by 08.02.2017 / 14:03
1
answer

Animation with CSS and jQuery

I'm building an alert system with jquery and css. Everything is working. But I noticed that in some browsers it's getting a bit slow. The problem occurs because the alert div moves along with the animation. Well my doubt and how to make the a...
asked by 13.01.2017 / 19:17